You are here

function linkit_install in Linkit 7.2

Implements hook_install().

File

./linkit.install, line 85
Install, update and uninstall functions for the Linkit module.

Code

function linkit_install() {

  // Only show message if not in install mode.
  if (!is_array($GLOBALS['install_state'])) {

    // Linkit is installed, inform the user about that they should create a Linkit
    // profile.
    drupal_set_message(st('Linkit is successfully installed, you will have to
      create a profile in order to use Linkit. Create your profile here !link', array(
      '!link' => l('admin/config/content/linkit', 'admin/config/content/linkit'),
    )));
  }
}