You are here

webform_ajax_page.install in Webform Ajax Page 6

Same filename and directory in other branches
  1. 7 webform_ajax_page.install

Install file.

File

webform_ajax_page.install
View source
<?php

/**
 * @file
 * Install file.
 */

/**
 * Implements hook_uninstall().
 */
function webform_ajax_page_uninstall() {
  variable_del('webform_ajax_page_css');
  variable_del('webform_ajax_page_css_choice');
  variable_del('webform_ajax_page_hide_submit');
  variable_del('webform_ajax_page_hide_submit_nodes');
  variable_del('webform_ajax_page_prev_label');
  variable_del('webform_ajax_page_next_label');
}

/**
 * Updates the module configuration variables.
 */
function webform_ajax_page_update_6100() {
  $value = variable_get('webform_ajax_page_css', -999);
  if ($value != -999) {
    variable_set('webform_ajax_page_css_choice', 'module_css');
    variable_del('webform_ajax_page_css');
  }
}

Functions

Namesort descending Description
webform_ajax_page_uninstall Implements hook_uninstall().
webform_ajax_page_update_6100 Updates the module configuration variables.