StaticDiscoveryDecorator::$registerDefinitions
Same name in other branches
- 8.9.x core/lib/Drupal/Component/Plugin/Discovery/StaticDiscoveryDecorator.php \Drupal\Component\Plugin\Discovery\StaticDiscoveryDecorator::registerDefinitions
- 10 core/lib/Drupal/Component/Plugin/Discovery/StaticDiscoveryDecorator.php \Drupal\Component\Plugin\Discovery\StaticDiscoveryDecorator::registerDefinitions
- 11.x core/lib/Drupal/Component/Plugin/Discovery/StaticDiscoveryDecorator.php \Drupal\Component\Plugin\Discovery\StaticDiscoveryDecorator::registerDefinitions
A callback or closure used for registering additional definitions.
Type: callable
File
-
core/
lib/ Drupal/ Component/ Plugin/ Discovery/ StaticDiscoveryDecorator.php, line 22
Class
- StaticDiscoveryDecorator
- A decorator that allows manual registration of undiscoverable definitions.
Namespace
Drupal\Component\Plugin\DiscoveryCode
protected $registerDefinitions;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.