public function MigrateToolsCommands::__construct in Migrate Tools 8.5
Same name and namespace in other branches
- 8.4 src/Commands/MigrateToolsCommands.php \Drupal\migrate_tools\Commands\MigrateToolsCommands::__construct()
MigrateToolsCommands constructor.
Parameters
\Drupal\migrate\Plugin\MigrationPluginManager $migrationPluginManager: Migration Plugin Manager service.
\Drupal\Core\Datetime\DateFormatter $dateFormatter: Date formatter service.
\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: Entity type manager service.
\Drupal\Core\KeyValueStore\KeyValueFactoryInterface $keyValue: Key-value store service.
File
- src/
Commands/ MigrateToolsCommands.php, line 73
Class
- MigrateToolsCommands
- Migrate Tools drush commands.
Namespace
Drupal\migrate_tools\CommandsCode
public function __construct(MigrationPluginManager $migrationPluginManager, DateFormatter $dateFormatter, EntityTypeManagerInterface $entityTypeManager, KeyValueFactoryInterface $keyValue) {
parent::__construct();
$this->migrationPluginManager = $migrationPluginManager;
$this->dateFormatter = $dateFormatter;
$this->entityTypeManager = $entityTypeManager;
$this->keyValue = $keyValue;
}