function PluginDefinition::id

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

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

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