function MigrateSourcePluginManager::getDiscovery
Same name in other branches
- 8.9.x core/modules/migrate/src/Plugin/MigrateSourcePluginManager.php \Drupal\migrate\Plugin\MigrateSourcePluginManager::getDiscovery()
- 10 core/modules/migrate/src/Plugin/MigrateSourcePluginManager.php \Drupal\migrate\Plugin\MigrateSourcePluginManager::getDiscovery()
- 11.x core/modules/migrate/src/Plugin/MigrateSourcePluginManager.php \Drupal\migrate\Plugin\MigrateSourcePluginManager::getDiscovery()
Overrides DefaultPluginManager::getDiscovery
File
-
core/
modules/ migrate/ src/ Plugin/ MigrateSourcePluginManager.php, line 44
Class
- MigrateSourcePluginManager
- Plugin manager for migrate source plugins.
Namespace
Drupal\migrate\PluginCode
protected function getDiscovery() {
if (!$this->discovery) {
$discovery = new AnnotatedClassDiscoveryAutomatedProviders($this->subdir, $this->namespaces, $this->pluginDefinitionAnnotationName, $this->additionalAnnotationNamespaces);
$this->discovery = new ContainerDerivativeDiscoveryDecorator($discovery);
}
return $this->discovery;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.