function IconDefinitionInterface::createIconId

Create an icon full id.

Parameters

string $pack_id: The id of the icon pack.

string $icon_id: The id of the icon.

Return value

string The icon full id.

1 method overrides IconDefinitionInterface::createIconId()
IconDefinition::createIconId in core/lib/Drupal/Core/Theme/Icon/IconDefinition.php
Create an icon full id.

File

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

Class

IconDefinitionInterface
Interface for icon definition.

Namespace

Drupal\Core\Theme\Icon

Code

public static function createIconId(string $pack_id, string $icon_id) : string;

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