function IconPackManager::getIcon
Overrides IconPackManagerInterface::getIcon
File
-
core/
lib/ Drupal/ Core/ Theme/ Icon/ Plugin/ IconPackManager.php, line 260
Class
- IconPackManager
- Defines an icon pack plugin manager to deal with icons.
Namespace
Drupal\Core\Theme\Icon\PluginCode
public function getIcon(string $icon_full_id) : ?IconDefinitionInterface {
return $this->iconCollector
->get($icon_full_id, $this->getDefinitions());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.