You are here

public function PluginInspectionInterface::getPluginDefinition in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Component/Plugin/PluginInspectionInterface.php \Drupal\Component\Plugin\PluginInspectionInterface::getPluginDefinition()
  2. 9 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.

1 method overrides 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();