function PluginBase::getPluginDefinition

Same name in other branches
  1. 8.9.x core/lib/Drupal/Component/Plugin/PluginBase.php \Drupal\Component\Plugin\PluginBase::getPluginDefinition()
  2. 10 core/lib/Drupal/Component/Plugin/PluginBase.php \Drupal\Component\Plugin\PluginBase::getPluginDefinition()
  3. 11.x core/lib/Drupal/Component/Plugin/PluginBase.php \Drupal\Component\Plugin\PluginBase::getPluginDefinition()

Overrides PluginInspectionInterface::getPluginDefinition

3 calls to PluginBase::getPluginDefinition()
ContextAwarePluginBase::getContextDefinition in core/lib/Drupal/Component/Plugin/ContextAwarePluginBase.php
Gets a specific context definition of the plugin.
ContextAwarePluginBase::getContextDefinitions in core/lib/Drupal/Component/Plugin/ContextAwarePluginBase.php
Gets the context definitions of the plugin.
WorkflowTypeBase::label in core/modules/workflows/src/Plugin/WorkflowTypeBase.php
Gets the label for the workflow type.

File

core/lib/Drupal/Component/Plugin/PluginBase.php, line 92

Class

PluginBase
Base class for plugins wishing to support metadata inspection.

Namespace

Drupal\Component\Plugin

Code

public function getPluginDefinition() {
    return $this->pluginDefinition;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.