function YamlDiscoveryDecorator::getDefinitions
Same name in other branches
- 9 core/lib/Drupal/Core/Plugin/Discovery/YamlDiscoveryDecorator.php \Drupal\Core\Plugin\Discovery\YamlDiscoveryDecorator::getDefinitions()
- 10 core/lib/Drupal/Core/Plugin/Discovery/YamlDiscoveryDecorator.php \Drupal\Core\Plugin\Discovery\YamlDiscoveryDecorator::getDefinitions()
- 11.x core/lib/Drupal/Core/Plugin/Discovery/YamlDiscoveryDecorator.php \Drupal\Core\Plugin\Discovery\YamlDiscoveryDecorator::getDefinitions()
Overrides YamlDiscovery::getDefinitions
File
-
core/
lib/ Drupal/ Core/ Plugin/ Discovery/ YamlDiscoveryDecorator.php, line 42
Class
- YamlDiscoveryDecorator
- Enables YAML discovery for plugin definitions.
Namespace
Drupal\Core\Plugin\DiscoveryCode
public function getDefinitions() {
return parent::getDefinitions() + $this->decorated
->getDefinitions();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.