function PluginBase::getPluginId

Same name 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()

Overrides PluginInspectionInterface::getPluginId

2 calls to PluginBase::getPluginId()
PluginBase::getBaseId in core/lib/Drupal/Component/Plugin/PluginBase.php
Gets the base_plugin_id of the plugin instance.
PluginBase::getDerivativeId in core/lib/Drupal/Component/Plugin/PluginBase.php
Gets the derivative_id of the plugin instance.

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.