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. 11.x 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

18 calls to PluginBase::getPluginId()
Component::getLibraryName in core/lib/Drupal/Core/Plugin/Component.php
The auto-computed library name.
ConditionPluginBase::getConfiguration in core/lib/Drupal/Core/Condition/ConditionPluginBase.php
Gets this plugin's configuration.
FormatterBase::view in core/lib/Drupal/Core/Field/FormatterBase.php
Builds a renderable array for a fully themed field.
HelpSearch::getType in core/modules/help/src/Plugin/Search/HelpSearch.php
Returns the search index type this plugin uses.
HelpTopicPluginBase::toLink in core/modules/help/src/HelpTopicPluginBase.php
Returns a link for viewing the help topic.

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