Helper functions for deployment and staging.
Usually called with update-hooks from "drush updb".
Create your own small module like "deployment_example", where you can use your own update-hooks (yourmodule_update_XXXX()).

Functions

Configuration handling

deployment_config_import('dummy.config');
If the update function is "your_module_update_8001()", the config-file is located in "your_module/deployment/update_8001/".
Pay attention: If the config is "dummy.config", the file is "dummy.config.yml".

deployment_config_delete('dummy.config');

Translation handling

deployment_translation_add("Dummy", "de", "NoDummy");
To use this functionality you need to have locale module enabled.

Module handling

deployment_module_install("module_filter");
deployment_module_uninstall("module_filter");

Supporting organizations: 

Project information

Releases