You are here

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\Icon

Code

public function getIcons() {
  return isset($this->pluginDefinition['icons']) ? $this->pluginDefinition['icons'] : $this->icons;
}