function IconDefinition::getData
Overrides IconDefinitionInterface::getData
File
-
core/
lib/ Drupal/ Core/ Theme/ Icon/ IconDefinition.php, line 193
Class
- IconDefinition
- Handle an icon definition.
Namespace
Drupal\Core\Theme\IconCode
public function getData(string $key) : mixed {
return $this->data[$key] ?? NULL;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.