function PluginInspectionInterface::getPluginDefinition

Same name in other branches
  1. 8.9.x core/lib/Drupal/Component/Plugin/PluginInspectionInterface.php \Drupal\Component\Plugin\PluginInspectionInterface::getPluginDefinition()
  2. 10 core/lib/Drupal/Component/Plugin/PluginInspectionInterface.php \Drupal\Component\Plugin\PluginInspectionInterface::getPluginDefinition()
  3. 11.x core/lib/Drupal/Component/Plugin/PluginInspectionInterface.php \Drupal\Component\Plugin\PluginInspectionInterface::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.

14 calls to PluginInspectionInterface::getPluginDefinition()
Alignment::getElementsSubset in core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/Alignment.php
Returns a configured subset of the elements supported by this plugin.
EntityResource::getBaseRoute in core/modules/rest/src/Plugin/rest/resource/EntityResource.php
Gets the base route for a particular method.
EntityResource::patch in core/modules/rest/src/Plugin/rest/resource/EntityResource.php
Responds to entity PATCH requests.
EntityResource::post in core/modules/rest/src/Plugin/rest/resource/EntityResource.php
Responds to entity POST requests and saves the new entity.
Heading::enabledHeadingsToTags in core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/Heading.php
Returns an array of enabled tags based on the enabled headings.

... See full list

6 methods override PluginInspectionInterface::getPluginDefinition()
LayoutInterface::getPluginDefinition in core/lib/Drupal/Core/Layout/LayoutInterface.php
Migration::getPluginDefinition in core/modules/migrate/src/Plugin/Migration.php
Gets the definition of the plugin implementation.
PluginBase::getPluginDefinition in core/lib/Drupal/Component/Plugin/PluginBase.php
Gets the definition of the plugin implementation.
SectionStorageInterface::getPluginDefinition in core/modules/layout_builder/src/SectionStorageInterface.php
Overrides \Drupal\Component\Plugin\PluginInspectionInterface::getPluginDefinition().
Test::getPluginDefinition in core/modules/media/tests/modules/media_test_source/src/Plugin/media/Source/Test.php
Gets the definition of the plugin implementation.

... See full list

File

core/lib/Drupal/Component/Plugin/PluginInspectionInterface.php, line 30

Class

PluginInspectionInterface
Plugin interface for providing some metadata inspection.

Namespace

Drupal\Component\Plugin

Code

public function getPluginDefinition();

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