PluginManagerBase::$factory

Same name in other branches
  1. 8.9.x core/lib/Drupal/Component/Plugin/PluginManagerBase.php \Drupal\Component\Plugin\PluginManagerBase::factory
  2. 10 core/lib/Drupal/Component/Plugin/PluginManagerBase.php \Drupal\Component\Plugin\PluginManagerBase::factory
  3. 11.x core/lib/Drupal/Component/Plugin/PluginManagerBase.php \Drupal\Component\Plugin\PluginManagerBase::factory

The object that instantiates plugins managed by this manager.

Type: \Drupal\Component\Plugin\Factory\FactoryInterface

File

core/lib/Drupal/Component/Plugin/PluginManagerBase.php, line 27

Class

PluginManagerBase
Base class for plugin managers.

Namespace

Drupal\Component\Plugin

Code

protected $factory;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.