function PluginInspectionInterface::getPluginDefinition

Same name and namespace in other branches
  1. 11.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. 8.9.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.

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.