function PluginBase::getPluginDefinition

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

8 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.
DefaultsSectionStorage::buildRoutes in core/modules/layout_builder/src/Plugin/SectionStorage/DefaultsSectionStorage.php
Provides the routes needed for Layout Builder UI.
ExecutablePluginBase::getConfigDefinition in core/lib/Drupal/Core/Executable/ExecutablePluginBase.php
Gets the definition of a configuration option.
ExecutablePluginBase::getConfigDefinitions in core/lib/Drupal/Core/Executable/ExecutablePluginBase.php
Gets an array of definitions of available configuration options.

... See full list

File

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

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.