public function MigrateSourcePluginManager::__construct in Drupal 10
Same name and namespace in other branches
- 8 core/modules/migrate/src/Plugin/MigrateSourcePluginManager.php \Drupal\migrate\Plugin\MigrateSourcePluginManager::__construct()
- 9 core/modules/migrate/src/Plugin/MigrateSourcePluginManager.php \Drupal\migrate\Plugin\MigrateSourcePluginManager::__construct()
MigrateSourcePluginManager constructor.
Parameters
string $type: The type of the plugin: row, source, process, destination, entity_field, id_map.
\Traversable $namespaces: An object that implements \Traversable which contains the root paths keyed by the corresponding namespace to look for plugin implementations.
\Drupal\Core\Cache\CacheBackendInterface $cache_backend: Cache backend instance to use.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler to invoke the alter hook with.
Overrides MigratePluginManager::__construct
File
- core/
modules/ migrate/ src/ Plugin/ MigrateSourcePluginManager.php, line 37
Class
- MigrateSourcePluginManager
- Plugin manager for migrate source plugins.
Namespace
Drupal\migrate\PluginCode
public function __construct($type, \Traversable $namespaces, CacheBackendInterface $cache_backend, ModuleHandlerInterface $module_handler) {
parent::__construct($type, $namespaces, $cache_backend, $module_handler, 'Drupal\\migrate\\Annotation\\MigrateSource');
}