You are here

protected property DefaultFactory::$discovery in Drupal 9

Same name and namespace in other branches
  1. 8 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\Factory

Code

protected $discovery;