You are here

function link_install in Link 7

Same name and namespace in other branches
  1. 5 link.install \link_install()
  2. 6.2 link.install \link_install()
  3. 6 link.install \link_install()

Implements hook_install().

File

./link.install, line 17
Install file for the link module.

Code

function link_install() {

  // Notify the user they may want to install token.
  if (!module_exists('token')) {
    $t = get_t();
    drupal_set_message($t('If you install the <a href="!url" target="blank">Token</a>, static title can use any other entity field as its value.', array(
      '!url' => 'http://drupal.org/project/token',
    )));
  }
}