function IconPackManagerInterface::getIcons

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Theme/Icon/Plugin/IconPackManagerInterface.php \Drupal\Core\Theme\Icon\Plugin\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`.

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.