Implements Drupal\Component\Plugin\PluginInterface::getDefinition().
Overrides PluginInspectionInterface::getDefinition
File
- drupal/core/lib/Drupal/Component/Plugin/PluginBase.php, line 64
- Definition of Drupal\Component\Plugin\PluginBase
Class
- PluginBase
- Base class for plugins wishing to support metadata inspection.
Namespace
Drupal\Component\Plugin
Code
public function getDefinition() {
return $this->discovery
->getDefinition($this->plugin_id);
}