You are here

function display_cache_install in Display Cache 7

Implements hook_install().

File

./display_cache.install, line 19
Schema and install hooks for the Display Cache module.

Code

function display_cache_install() {

  // Increase the module weight, so display_cache catches any alterations made
  // by other modules in hook_module_implements_alter().
  db_update('system')
    ->fields(array(
    'weight' => 100,
  ))
    ->condition('type', 'module')
    ->condition('name', 'display_cache')
    ->execute();
}