You are here

public function MigrateTemplateStorage::__construct in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 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\migrate

Code

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