function DefaultPluginManager::getFactory
Gets the plugin factory.
Return value
\Drupal\Component\Plugin\Factory\FactoryInterface The plugin factory.
Overrides PluginManagerBase::getFactory
1 call to DefaultPluginManager::getFactory()
- MigrationPluginManager::createInstances in core/modules/ migrate/ src/ Plugin/ MigrationPluginManager.php 
File
- 
              core/lib/ Drupal/ Core/ Plugin/ DefaultPluginManager.php, line 326 
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;
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
