DefaultFactory::$discovery
Same name in other branches
- 9 core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php \Drupal\Component\Plugin\Factory\DefaultFactory::discovery
- 8.9.x core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php \Drupal\Component\Plugin\Factory\DefaultFactory::discovery
- 10 core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php \Drupal\Component\Plugin\Factory\DefaultFactory::discovery
The object that retrieves the definitions of the plugins that this factory instantiates.
The plugin definition includes the plugin class and possibly other information necessary for proper instantiation.
Type: \Drupal\Component\Plugin\Discovery\DiscoveryInterface
File
-
core/
lib/ Drupal/ Component/ Plugin/ Factory/ DefaultFactory.php, line 27
Class
- DefaultFactory
- Default plugin factory.
Namespace
Drupal\Component\Plugin\FactoryCode
protected $discovery;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.