public function MigrationController::__construct in Migrate Tools 8.5
Same name and namespace in other branches
- 8.2 src/Controller/MigrationController.php \Drupal\migrate_tools\Controller\MigrationController::__construct()
- 8.3 src/Controller/MigrationController.php \Drupal\migrate_tools\Controller\MigrationController::__construct()
- 8.4 src/Controller/MigrationController.php \Drupal\migrate_tools\Controller\MigrationController::__construct()
Constructs a new MigrationController object.
Parameters
\Drupal\migrate\Plugin\MigrationPluginManagerInterface $migration_plugin_manager: The plugin manager for config entity-based migrations.
\Drupal\Core\Routing\CurrentRouteMatch $currentRouteMatch: The current route match.
File
- src/
Controller/ MigrationController.php, line 45
Class
- MigrationController
- Returns responses for migrate_tools migration view routes.
Namespace
Drupal\migrate_tools\ControllerCode
public function __construct(MigrationPluginManagerInterface $migration_plugin_manager, CurrentRouteMatch $currentRouteMatch) {
$this->migrationPluginManager = $migration_plugin_manager;
$this->currentRouteMatch = $currentRouteMatch;
}