Skip to content

Developers: Updates

Mark Conroy edited this page May 30, 2023 · 4 revisions

Policy for updates to modules and the profile

See also Versioning and Releases

Configuration

If a module gets new configuration that would be deployed on a new install, either as a fix or feature, this should be pushed to existing sites if it will not cause breaking changes.

If it can be pushed to fix or enhance existing sites it should be added as a hook_install or hook_post_install the relevant modules' install or post_install file. This hook must first check if that affected configuration has already been changed on the site. If it has been changed the hook should not alter the configuration but return information about the alteration that has not been deployed. If the configuration has not been changed, the config update can be applied.