Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. PluginInspectionInterface.php

function PluginInspectionInterface::getPluginDefinition

Gets the definition of the plugin implementation.

Return value

\Drupal\Component\Plugin\Definition\PluginDefinitionInterface|array The plugin definition, as returned by the discovery object used by the plugin manager.

13 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

5 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().
TypedData::getPluginDefinition in core/lib/Drupal/Core/TypedData/TypedData.php
Gets the definition of the plugin implementation.

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();
RSS feed
Powered by Drupal