You are here

public function PluginDefinition::id in Drupal 8

Same name and namespace in other branches
  1. 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()
ConfigEntityType::getConfigPrefix in core/lib/Drupal/Core/Config/Entity/ConfigEntityType.php
Gets the config prefix used by the configuration entity type.
ConfigEntityType::getPropertiesToExport in core/lib/Drupal/Core/Config/Entity/ConfigEntityType.php
Gets the config entity properties to export if declared on the annotation.
ContentEntityType::getRevisionMetadataKeys in core/lib/Drupal/Core/Entity/ContentEntityType.php
Gets an array of entity revision metadata keys.

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