function PluginBase::getPluginDefinition
Same name and namespace in other branches
- 8.9.x core/lib/Drupal/Component/Plugin/PluginBase.php \Drupal\Component\Plugin\PluginBase::getPluginDefinition()
- 10 core/lib/Drupal/Component/Plugin/PluginBase.php \Drupal\Component\Plugin\PluginBase::getPluginDefinition()
- 11.x core/lib/Drupal/Component/Plugin/PluginBase.php \Drupal\Component\Plugin\PluginBase::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.
Overrides PluginInspectionInterface::getPluginDefinition
5 calls to PluginBase::getPluginDefinition()
- ContextAwarePluginBase::getContextDefinition in core/
lib/ Drupal/ Component/ Plugin/ ContextAwarePluginBase.php - Gets a specific context definition of the plugin.
- ContextAwarePluginBase::getContextDefinitions in core/
lib/ Drupal/ Component/ Plugin/ ContextAwarePluginBase.php - Gets the context definitions of the plugin.
- LayoutDefault::getPluginDefinition in core/
lib/ Drupal/ Core/ Layout/ LayoutDefault.php - MenuLinkDefault::updateLink in core/
lib/ Drupal/ Core/ Menu/ MenuLinkDefault.php - Updates the definition values for a menu link.
- WidgetBase::handlesMultipleValues in core/
lib/ Drupal/ Core/ Field/ WidgetBase.php - Returns whether the widget handles multiple values.
File
-
core/
lib/ Drupal/ Component/ Plugin/ PluginBase.php, line 92
Class
- PluginBase
- Base class for plugins wishing to support metadata inspection.
Namespace
Drupal\Component\PluginCode
public function getPluginDefinition() {
return $this->pluginDefinition;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.