function PluginDefinition::id

Same name and namespace in other branches
  1. 11.x 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()
  3. 9 core/lib/Drupal/Component/Plugin/Definition/PluginDefinition.php \Drupal\Component\Plugin\Definition\PluginDefinition::id()
  4. 8.9.x 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

5 calls to PluginDefinition::id()
CKEditor5PluginDefinition::toArray in core/modules/ckeditor5/src/Plugin/CKEditor5PluginDefinition.php
Gets an array representation of this CKEditor 5 plugin definition.
CKEditor5PluginDefinition::__construct in core/modules/ckeditor5/src/Plugin/CKEditor5PluginDefinition.php
CKEditor5PluginDefinition constructor.
ConfigEntityType::getConfigPrefix in core/lib/Drupal/Core/Config/Entity/ConfigEntityType.php
Gets the config prefix used by the configuration entity type.
ContentEntityType::hasIntegerId in core/lib/Drupal/Core/Entity/ContentEntityType.php
Checks if this entity type has an integer ID.
EntityType::getBundleListCacheTags in core/lib/Drupal/Core/Entity/EntityType.php
The list cache tags associated with a specific bundle.

File

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

Class

PluginDefinition
Provides object-based plugin definitions.

Namespace

Drupal\Component\Plugin\Definition

Code

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

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