function PluginManagerBase::getDefinition
Same name in other branches
- 8.9.x core/lib/Drupal/Component/Plugin/PluginManagerBase.php \Drupal\Component\Plugin\PluginManagerBase::getDefinition()
- 10 core/lib/Drupal/Component/Plugin/PluginManagerBase.php \Drupal\Component\Plugin\PluginManagerBase::getDefinition()
- 11.x core/lib/Drupal/Component/Plugin/PluginManagerBase.php \Drupal\Component\Plugin\PluginManagerBase::getDefinition()
Overrides DiscoveryTrait::getDefinition
File
-
core/
lib/ Drupal/ Component/ Plugin/ PluginManagerBase.php, line 57
Class
- PluginManagerBase
- Base class for plugin managers.
Namespace
Drupal\Component\PluginCode
public function getDefinition($plugin_id, $exception_on_invalid = TRUE) {
return $this->getDiscovery()
->getDefinition($plugin_id, $exception_on_invalid);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.