This project is not covered by Drupal’s security advisory policy.
Need to determine if a migration is running? This module offers a service that you can call to check that. Like this:
/**
* Implements hook_entity_presave().
*/
function mymodule_entity_presave(EntityInterface $entity
) {
/** @var \Drupal\migrate_status\MigrateStatus $migrate_status */
$migrate_status = \Drupal::service('migrate.status');
if ($migrate_status->isImporting()) {
return;
}
// Migrate is not processing migrations. We can proceed to do something.
}
You can also check for a migration in particular via $migrate_status->isMigrationImporting('upgrade_d7_short_code_linkit')
Supporting organizations:
Creation and maintenance.
Project information
Seeking new maintainer
The current maintainers are looking for new people to take ownership.- Project categories: Developer tools
- Ecosystem: Migrate
- Created by juampynr on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.


