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. 10 core/lib/Drupal/Component/Plugin/PluginBase.php \Drupal\Component\Plugin\PluginBase::getPluginId()

Overrides PluginInspectionInterface::getPluginId

5 calls to PluginBase::getPluginId()
IconExtractorBase::createIcon in core/lib/Drupal/Core/Theme/Icon/IconExtractorBase.php
Create the icon definition from an extractor plugin.
IconExtractorWithFinder::checkRequiredConfigSources in core/lib/Drupal/Core/Theme/Icon/IconExtractorWithFinder.php
Check the required `config > sources` value from definition.
IconExtractorWithFinder::getFilesFromSources in core/lib/Drupal/Core/Theme/Icon/IconExtractorWithFinder.php
Create files data from sources config.
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.