function IconDefinitionInterface::getAllData
Get all icon data.
Icon data is injected by extractors and can be used to set any values needed for the extractor loadIcon() method. The data is then injected in the Twig template of the icon.
Return value
array All the icon data.
1 method overrides IconDefinitionInterface::getAllData()
- IconDefinition::getAllData in core/
lib/ Drupal/ Core/ Theme/ Icon/ IconDefinition.php - Get all icon data.
File
-
core/
lib/ Drupal/ Core/ Theme/ Icon/ IconDefinitionInterface.php, line 169
Class
- IconDefinitionInterface
- Interface for icon definition.
Namespace
Drupal\Core\Theme\IconCode
public function getAllData() : array;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.