public function MigrateExecutable::__construct in GatherContent 8.5
File
- src/
MigrateExecutable.php, line 63
Class
- MigrateExecutable
- Defines a migrate executable class.
Namespace
Drupal\gathercontentCode
public function __construct(MigrationInterface $migration, MigrateMessageInterface $message, array $options = []) {
parent::__construct($migration, $message, $options);
if (isset($options['import_options'])) {
$this->importOptions = $options['import_options'];
}
if (isset($options['client'])) {
$this->client = $options['client'];
}
$this->entityTypeManager = \Drupal::service('entity_type.manager');
$this->session = \Drupal::service('session');
}