Drupal is a registered trademark of Dries Buytaert

migrate_boost

244 sites Security covered
View on drupal.org

# About

This is built on the work in the sandbox: https://www.drupal.org/sandbox/onkeltem/2828817
and
https://github.com/thinktandem/migrate_booster

On Drupal 7 we could disable hooks while running migrations:

https://www.drupal.org/node/2136601

This module adds a similar feature. You can disable hooks
in settings.php or by editing configuratoin object `migrate_boost.settings`.

There are two ways to disable hooks:

1) Disable specific hooks and modules:

```
$config['migrate_boost.settings']['hooks'] = [
# Entity insert
'entity_insert' => [
'workbench_moderation',
'pathauto',
'xmlsitemap',
],
# Entity presave
'entity_presave' => [
'xmlsitemap',
],
# Entity predelete
'entity_predelete' => [
'flag',
],
];
```

2) Disable all hooks of specific modules:

```
$config['migrate_boost.settings']['modules'] = [
'workbench_moderation',
'pathauto',
'xmlsitemap',
];
```

Activity

Total releases
2
First release
Apr 2025
Latest release
10 months ago
Release cadence
0 days
Stability
100% stable

Releases

Version Type Release date
2.0.0 Stable Apr 23, 2025
1.0.2 Stable Apr 23, 2025