You are here

public function PluginDefinition::id in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Component/Plugin/Definition/PluginDefinition.php \Drupal\Component\Plugin\Definition\PluginDefinition::id()
  2. 9 core/lib/Drupal/Component/Plugin/Definition/PluginDefinition.php \Drupal\Component\Plugin\Definition\PluginDefinition::id()

Gets the unique identifier of the plugin.

Return value

string The unique identifier of the plugin.

Overrides PluginDefinitionInterface::id

3 calls to PluginDefinition::id()
CKEditor5PluginDefinition::toArray in core/modules/ckeditor5/src/Plugin/CKEditor5PluginDefinition.php
Gets an array representation of this CKEditor 5 plugin definition.
ConfigEntityType::getConfigPrefix in core/lib/Drupal/Core/Config/Entity/ConfigEntityType.php
Gets the config prefix used by the configuration entity type.
LayoutDefinition::getIcon in core/lib/Drupal/Core/Layout/LayoutDefinition.php
Builds a render array for an icon representing the layout.

File

core/lib/Drupal/Component/Plugin/Definition/PluginDefinition.php, line 34

Class

PluginDefinition
Provides object-based plugin definitions.

Namespace

Drupal\Component\Plugin\Definition

Code

public function id() {
  return $this->id;
}