protected function DefaultPluginManager::getFactory in Service Container 7.2
Same name and namespace in other branches
- 7 lib/Drupal/Component/Plugin/DefaultPluginManager.php \Drupal\Core\Plugin\DefaultPluginManager::getFactory()
Gets the plugin factory.
Return value
\Drupal\Component\Plugin\Factory\FactoryInterface
Overrides PluginManagerBase::getFactory
File
- lib/
Drupal/ Component/ Plugin/ DefaultPluginManager.php, line 290 - Contains \Drupal\Core\Plugin\DefaultPluginManager.
Class
- DefaultPluginManager
- Base class for plugin managers.
Namespace
Drupal\Core\PluginCode
protected function getFactory() {
if (!$this->factory) {
$this->factory = new ContainerFactory($this, $this->pluginInterface);
}
return $this->factory;
}