function PluginInspectionInterface::getPluginDefinition
Same name in other branches
- 9 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()
- 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.
12 calls to PluginInspectionInterface::getPluginDefinition()
- 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.
- MenuLinkContent::updateLink in core/
modules/ menu_link_content/ src/ Plugin/ Menu/ MenuLinkContent.php - Updates the definition values for a menu link.
- MenuLinkDefault::updateLink in core/
lib/ Drupal/ Core/ Menu/ MenuLinkDefault.php - Updates the definition values for a menu link.
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.
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();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.