You are here

revision_all.install in Revision All 8

Same filename and directory in other branches
  1. 6 revision_all.install
  2. 7.2 revision_all.install
  3. 7 revision_all.install

Install, update and uninstall functions for the revision all module.

File

revision_all.install
View source
<?php

/**
 * @file
 * Install, update and uninstall functions for the revision all module.
 */

/**
 * Implements hook_install().
 */
function revision_all_install() {
  $defaults['revision-all'] = TRUE;
  $defaults['enable-future'] = TRUE;
  $defaults['prevent-override'] = FALSE;
  variable_set('revision_all', $defaults);
}

/**
 * Implements hook_uninstall().
 */
function revision_all_uninstall() {
  variable_del('revision_all');
}

Functions