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