function IconPackManagerInterface::listIconPackOptions

Populates a key-value pair of available icon pack.

Parameters

bool $include_description: Include Pack description if set, default to not include.

Return value

array An array of translated icon pack labels, keyed by ID.

1 method overrides IconPackManagerInterface::listIconPackOptions()
IconPackManager::listIconPackOptions in core/lib/Drupal/Core/Theme/Icon/Plugin/IconPackManager.php
Populates a key-value pair of available icon pack.

File

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

Class

IconPackManagerInterface
Interface for icon pack manager.

Namespace

Drupal\Core\Theme\Icon\Plugin

Code

public function listIconPackOptions(bool $include_description = FALSE) : array;

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