You are here

mpac.install in Multi-path autocomplete 7

Module install file.

File

mpac.install
View source
<?php

/**
 * @file
 * Module install file.
 */

/**
 * Implements hook_install().
 */
function mpac_install() {
  if (variable_get('mpac_max_items') === NULL) {
    variable_set('mpac_max_items', 20);
  }
}

/**
 * Implements hook_uninstall().
 */
function mpac_uninstall() {
  variable_del('mpac_max_items');
}

Functions

Namesort descending Description
mpac_install Implements hook_install().
mpac_uninstall Implements hook_uninstall().