function cms_content_sync_developer_update_8001 in CMS Content Sync 8
Same name and namespace in other branches
- 2.1.x modules/cms_content_sync_developer/cms_content_sync_developer.install \cms_content_sync_developer_update_8001()
- 2.0.x modules/cms_content_sync_developer/cms_content_sync_developer.install \cms_content_sync_developer_update_8001()
Update the module weight.
File
- modules/
cms_content_sync_developer/ cms_content_sync_developer.install, line 31 - Install file for cms_content_sync_developer.
Code
function cms_content_sync_developer_update_8001(&$sandbox) {
// Set module weight higher then the cms_content_sync module to ensure
// update hooks are triggered after it.
module_set_weight('cms_content_sync_developer', 100);
return 'Updated module weight to execute hooks after main module.';
}