function PluginBase::getPluginId

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Component/Plugin/PluginBase.php \Drupal\Component\Plugin\PluginBase::getPluginId()
  2. 8.9.x core/lib/Drupal/Component/Plugin/PluginBase.php \Drupal\Component\Plugin\PluginBase::getPluginId()
  3. 10 core/lib/Drupal/Component/Plugin/PluginBase.php \Drupal\Component\Plugin\PluginBase::getPluginId()

Gets the plugin ID of the plugin instance.

Return value

string The plugin ID of the plugin instance.

Overrides PluginInspectionInterface::getPluginId

50 calls to PluginBase::getPluginId()
Component::getLibraryName in core/lib/Drupal/Core/Plugin/Component.php
The auto-computed library name.
Component::getLibraryName in core/modules/sdc/src/Plugin/Component.php
The auto-computed library name.
ConditionPluginBase::getConfiguration in core/lib/Drupal/Core/Condition/ConditionPluginBase.php
Gets this plugin's configuration.
ConfigEntityMapper::getOperations in core/modules/config_translation/src/ConfigEntityMapper.php
Provides an array of information to build a list of operation links.
ConfigNamesMapper::getAddRoute in core/modules/config_translation/src/ConfigNamesMapper.php
Returns the route object for a translation add form route.

... See full list

File

core/lib/Drupal/Component/Plugin/PluginBase.php, line 62

Class

PluginBase
Base class for plugins wishing to support metadata inspection.

Namespace

Drupal\Component\Plugin

Code

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

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