You are here

public function PluginDefinition::id in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Component/Plugin/Definition/PluginDefinition.php \Drupal\Component\Plugin\Definition\PluginDefinition::id()
  2. 10 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

1 call to PluginDefinition::id()
ConfigEntityType::getConfigPrefix in core/lib/Drupal/Core/Config/Entity/ConfigEntityType.php
Gets the config prefix used by the configuration entity type.

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;
}