You are here

function ajax_links_api_install in Ajaxify Drupal with JQuery Ajax 7

Implements hook_install().

File

./ajax_links_api.install, line 10
Install and uninstall functions for the Ajax links API module.

Code

function ajax_links_api_install() {
  $t = get_t();
  if (user_access('access overlay')) {
    $message = $t("Overlay module is not compatible with Ajax links API module.Try to avoid using ajax links api for overlay paths.");
    drupal_set_message($message, 'warning');
  }
  drupal_set_message($t('<a href="@var">Configure</a> Ajax links API.', array(
    '@var' => url('admin/config/development/ajax-links-api'),
  )));
}