Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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. - Module 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.