function IconPackManagerInterface::getIcons

Get a list of all the icons within definitions.

Parameters

array $allowed_icon_pack: Limit the icons to some definition id.

Return value

array Gets a list of icons index by id with `source` and `group`.

1 method overrides IconPackManagerInterface::getIcons()
IconPackManager::getIcons in core/lib/Drupal/Core/Theme/Icon/Plugin/IconPackManager.php
Get a list of all the icons within definitions.

File

core/lib/Drupal/Core/Theme/Icon/Plugin/IconPackManagerInterface.php, line 28

Class

IconPackManagerInterface
Interface for icon pack manager.

Namespace

Drupal\Core\Theme\Icon\Plugin

Code

public function getIcons(array $allowed_icon_pack = []) : array;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.