You are here

tipsy.install in Tipsy 8

Same filename and directory in other branches
  1. 7 tipsy.install

Install, update and uninstall functions for the tipsy module.

File

tipsy.install
View source
<?php

/**
 * @file
 * Install, update and uninstall functions for the tipsy module.
 */

/**
 * Implements hook_install().
 */
function tipsy_install() {
  drupal_set_message(t("Tipsy has been successfully installed. Visit the <a href=@href>settings page</a> for tooltips of your choice.", array(
    '@href' => base_path() . 'admin/config/user-interface/tipsy',
  )));
}

/**
 * Implements hook_uninstall().
 */
function tipsy_uninstall() {
  \Drupal::configFactory()
    ->getEditable('tipsy.settings')
    ->delete();
}

Functions

Namesort descending Description
tipsy_install Implements hook_install().
tipsy_uninstall Implements hook_uninstall().