You are here

public function MigrateTemplateStorage::__construct in Migrate Manifest 8.2

Same name and namespace in other branches
  1. 8 src/MigrateTemplateStorage.php \Drupal\migrate_manifest\MigrateTemplateStorage::__construct()
  2. 3.x src/MigrateTemplateStorage.php \Drupal\migrate_manifest\MigrateTemplateStorage::__construct()

File

src/MigrateTemplateStorage.php, line 36

Class

MigrateTemplateStorage
Storage to access migration template configuration in enabled extensions.

Namespace

Drupal\migrate_manifest

Code

public function __construct(ModuleHandlerInterface $module_handler, $directory = self::MIGRATION_TEMPLATE_DIRECTORY) {
  $this->moduleHandler = $module_handler;
  $this->directory = $directory;
}