ComponentMetadata::$id

The ID of the component, in the form of provider:machine_name.

Type: id

File

core/lib/Drupal/Core/Theme/Component/ComponentMetadata.php, line 19

Class

ComponentMetadata
Component metadata.

Namespace

Drupal\Core\Theme\Component

Code

public readonly string $id;

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