You are here

public function PluginBase::getPluginDefinition in Service Container 7

Same name and namespace in other branches
  1. 7.2 lib/Drupal/Component/Plugin/PluginBase.php \Drupal\Component\Plugin\PluginBase::getPluginDefinition()

Gets the definition of the plugin implementation.

Return value

array The plugin definition, as returned by the discovery object used by the plugin manager.

Overrides PluginInspectionInterface::getPluginDefinition

2 calls to PluginBase::getPluginDefinition()
ContextAwarePluginBase::getContextDefinition in lib/Drupal/Component/Plugin/ContextAwarePluginBase.php
Gets a specific context definition of the plugin.
ContextAwarePluginBase::getContextDefinitions in lib/Drupal/Component/Plugin/ContextAwarePluginBase.php
Gets the context definitions of the plugin.

File

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

Class

PluginBase
Base class for plugins wishing to support metadata inspection.

Namespace

Drupal\Component\Plugin

Code

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