public function MigrateTemplateStorage::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/migrate/src/MigrateTemplateStorage.php \Drupal\migrate\MigrateTemplateStorage::__construct()
File
- core/
modules/ migrate/ src/ MigrateTemplateStorage.php, line 38 - Contains \Drupal\migrate\MigrateTemplateStorage.
Class
- MigrateTemplateStorage
- Storage to access migration template configuration in enabled extensions.
Namespace
Drupal\migrateCode
public function __construct(ModuleHandlerInterface $module_handler, $directory = self::MIGRATION_TEMPLATE_DIRECTORY) {
$this->moduleHandler = $module_handler;
$this->directory = $directory;
}