public function IconSetBase::getIcons in Icon API 8
Retrieves an array of icons grouped by unique name.
Return value
array Array of icons.
Overrides IconSetInterface::getIcons
File
- src/
Plugin/ Icon/ IconSetBase.php, line 47
Class
- IconSetBase
- Class IconSetBase
Namespace
Drupal\icon\Plugin\IconCode
public function getIcons() {
return isset($this->pluginDefinition['icons']) ? $this->pluginDefinition['icons'] : $this->icons;
}