You are here

function cms_content_sync_developer_install in CMS Content Sync 2.1.x

Same name and namespace in other branches
  1. 8 modules/cms_content_sync_developer/cms_content_sync_developer.install \cms_content_sync_developer_install()
  2. 2.0.x modules/cms_content_sync_developer/cms_content_sync_developer.install \cms_content_sync_developer_install()

Implements hook_install().

File

modules/cms_content_sync_developer/cms_content_sync_developer.install, line 11
Install file for cms_content_sync_developer.

Code

function cms_content_sync_developer_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_developer', 100);

  // Cache rebuild is require, otherwise the module weight does not take effect.
  drupal_flush_all_caches();
}