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.
By Gábor Hojtsy on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.x
Introduced in version:
8.0
Issue links:
Description:
A hook_config_import_steps_alter(&$sync_steps)
hook has been added to modify the list of steps running in configuration sync. The hook can be used to alter all the steps, add new ones or change the core ones. Removing the core sync steps may be dangerous unless you provide compatible functionality. Again, you should really know what you are doing if removing steps.
Each step should either be a method name on the ConfigImporter class or a callable (see http://php.net/is_callable).
Examples of extra added steps would be
- A step to delete fields before uninstalling modules #2198429: Make deleted fields work with config synch
- A step to synchronise language overrides #2224887: Language configuration overrides should have their own storage
Impacts:
Module developers