function PluginDefinition::id

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

Overrides PluginDefinitionInterface::id

2 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.

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.