public function PluginBase::getPluginDefinition in Plug 7
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
4 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.
- Fruit::display in modules/
plug_example/ src/ Plugin/ fruit/ Fruit.php - Displays a fruit.
- NameBase::displayName in modules/
plug_example/ src/ Plugin/ name/ NameBase.php - Displays a name.
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;
}