public function PluginInspectionInterface::getPluginDefinition in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Component/Plugin/PluginInspectionInterface.php \Drupal\Component\Plugin\PluginInspectionInterface::getPluginDefinition()
- 10 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.
4 methods override PluginInspectionInterface::getPluginDefinition()
- LayoutInterface::getPluginDefinition in core/
lib/ Drupal/ Core/ Layout/ LayoutInterface.php - 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\PluginCode
public function getPluginDefinition();