You are here

public function PluginBase::getPluginId in Service Container 7.2

Same name and namespace in other branches
  1. 7 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

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

File

lib/Drupal/Component/Plugin/PluginBase.php, line 66
Contains \Drupal\Component\Plugin\PluginBase.

Class

PluginBase
Base class for plugins wishing to support metadata inspection.

Namespace

Drupal\Component\Plugin

Code

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