You are here

public function PluginBase::getPluginId in Drupal 9

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

39 calls to PluginBase::getPluginId()
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.
ConfigNamesMapper::getDeleteRoute in core/modules/config_translation/src/ConfigNamesMapper.php
Returns the route object for the translation deletion route.
ConfigNamesMapper::getEditRoute in core/modules/config_translation/src/ConfigNamesMapper.php
Returns the route object for a translation edit 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;
}