function PluginBase::getPluginId

Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Component/Plugin/PluginBase.php \Drupal\Component\Plugin\PluginBase::getPluginId()
  2. 10 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

11 calls to PluginBase::getPluginId()
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.
ImageToolkitBase::apply in core/lib/Drupal/Core/ImageToolkit/ImageToolkitBase.php
Applies a toolkit operation to an image.
LinkRelationType::getRegisteredName in core/lib/Drupal/Core/Http/LinkRelationType.php
Returns the registered link relation type name.
MenuLinkDefault::isResettable in core/lib/Drupal/Core/Menu/MenuLinkDefault.php
Returns whether this link can be reset.

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