public function Migrator::setMigrations in Lightning Workflow 8.3
Same name and namespace in other branches
- 8.2 modules/lightning_scheduler/src/Migrator.php \Drupal\lightning_scheduler\Migrator::setMigrations()
Sets the entity types still needing migration.
Parameters
string[] $migrations: The entity type IDs that still need to be migrated.
1 call to Migrator::setMigrations()
- Migrator::completeMigration in modules/
lightning_scheduler/ src/ Migrator.php - Completes the migration for a single entity type.
File
- modules/
lightning_scheduler/ src/ Migrator.php, line 94
Class
- Migrator
- The migration is not an API and should not be extended or re-used.
Namespace
Drupal\lightning_schedulerCode
public function setMigrations(array $migrations) {
return $this->state
->set('lightning_scheduler.migrations', $migrations);
}