function IconDefinition::createIconId
Overrides IconDefinitionInterface::createIconId
4 calls to IconDefinition::createIconId()
- Icon::preRenderIcon in core/
lib/ Drupal/ Core/ Render/ Element/ Icon.php - Icon element pre render callback.
- PathExtractor::discoverIcons in core/
lib/ Drupal/ Core/ Theme/ Plugin/ IconExtractor/ PathExtractor.php - Get a list of all the icons discovered by this extractor.
- SvgExtractor::discoverIcons in core/
lib/ Drupal/ Core/ Theme/ Plugin/ IconExtractor/ SvgExtractor.php - Get a list of all the icons discovered by this extractor.
- SvgSpriteExtractor::discoverIcons in core/
lib/ Drupal/ Core/ Theme/ Plugin/ IconExtractor/ SvgSpriteExtractor.php - Get a list of all the icons discovered by this extractor.
File
-
core/
lib/ Drupal/ Core/ Theme/ Icon/ IconDefinition.php, line 81
Class
- IconDefinition
- Handle an icon definition.
Namespace
Drupal\Core\Theme\IconCode
public static function createIconId(string $pack_id, string $icon_id) : string {
return sprintf('%s%s%s', $pack_id, self::ICON_SEPARATOR, $icon_id);
}