public function PluginBase::getPluginDefinition in Service Container 7.2
Same name and namespace in other branches
- 7 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
2 calls to PluginBase::getPluginDefinition()
- ContextAwarePluginBase::getContextDefinition in lib/
Drupal/ Component/ Plugin/ ContextAwarePluginBase.php - Gets a specific context definition of the plugin.
- ContextAwarePluginBase::getContextDefinitions in lib/
Drupal/ Component/ Plugin/ ContextAwarePluginBase.php - Gets the context definitions of the plugin.
File
- lib/
Drupal/ Component/ Plugin/ PluginBase.php, line 96 - Contains \Drupal\Component\Plugin\PluginBase.
Class
- PluginBase
- Base class for plugins wishing to support metadata inspection.
Namespace
Drupal\Component\PluginCode
public function getPluginDefinition() {
return $this->pluginDefinition;
}