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