Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. IconDefinition.php

function IconDefinition::__construct

Constructor for IconDefinition.

Parameters

string $pack_id: The id of the icon pack.

string $icon_id: The id of the icon.

string $template: The template of the icon.

string|null $source: The source, url or path of the icon.

string|null $group: The group of the icon.

array $data: The additional data of the icon.

File

core/lib/Drupal/Core/Theme/Icon/IconDefinition.php, line 37

Class

IconDefinition
Handle an icon definition.

Namespace

Drupal\Core\Theme\Icon

Code

private function __construct(string $pack_id, string $icon_id, string $template, ?string $source, ?string $group, array $data) {
}
RSS feed
Powered by Drupal