protected property 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

drupal/core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php, line 31
Definition of Drupal\Component\Plugin\Factory\DefaultFactory.

Class

DefaultFactory
Default plugin factory.

Namespace

Drupal\Component\Plugin\Factory

Code

protected $discovery;