You are here

function auto_entitylabel_enable in Automatic Entity Label 7

Implements hook_enable().

File

./auto_entitylabel.install, line 42
Installation file for the automatic entity labels module.

Code

function auto_entitylabel_enable() {

  // 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 module</a>, Automatic Entity Label will be able to use token patterns.', array(
      '!url' => 'http://drupal.org/project/token',
    )));
  }
}