cms_content_sync_draggableviews.install in CMS Content Sync 8
Same filename and directory in other branches
File
modules/cms_content_sync_draggableviews/cms_content_sync_draggableviews.installView source
<?php
/**
* @file
*/
/**
* Update the module weight.
*/
function cms_content_sync_draggableviews_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_draggableviews', 20);
// Clear cache so the new module weight is reflected immediately.
Drupal::moduleHandler()
->resetImplementations();
return 'Updated module weight to execute hooks after main module.';
}
Functions
Name | Description |
---|---|
cms_content_sync_draggableviews_install | Update the module weight. |