You are here

ac_update.install in Availability Calendars 7.2

Install, update and uninstall functions for the Availability Calendar Update module.

@author Erwin Derksen (http://drupal.org/user/750928)

File

ac_update/ac_update.install
View source
<?php

/**
 * @file
 * Install, update and uninstall functions for the Availability Calendar Update module.
 *
 * @author Erwin Derksen (http://drupal.org/user/750928)
 */

/**
 * Implements hook_install().
 * @link http://api.drupal.org/api/drupal/modules--system--system.api.php/function/hook_install/7
 */
function ac_update_install() {
  $t = get_t();
  $link = l($t('Update Availability Calendars'), 'admin/config/content/availability-calendars/update');
  drupal_set_message($t("You can visit the '!link' page to update Availability Calendars to the field based Availability Calendar.", array(
    '!link' => $link,
  )), 'status');
}