function IconDefinitionInterface::getIconDataFromId

Get icon id and pack id from an icon full id.

Parameters

string $icon_full_id: The id of the icon including the pack.

Return value

array|null The icon data as keyed with `pack_id` and `icon_id`.

1 method overrides IconDefinitionInterface::getIconDataFromId()
IconDefinition::getIconDataFromId in core/lib/Drupal/Core/Theme/Icon/IconDefinition.php
Get icon id and pack id from an icon full id.

File

core/lib/Drupal/Core/Theme/Icon/IconDefinitionInterface.php, line 68

Class

IconDefinitionInterface
Interface for icon definition.

Namespace

Drupal\Core\Theme\Icon

Code

public static function getIconDataFromId(string $icon_full_id) : ?array;

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