You are here

spoiler.install in Spoiler 5

Same filename and directory in other branches
  1. 6 spoiler.install
  2. 7 spoiler.install

File

spoiler.install
View source
<?php

/**
 * Implementation of hook_install().
 */
function spoiler_install() {
  drupal_set_message(t('Spoiler module: Installation script complete. The spoiler filter can be configured via the <a href="!url">input formats</a> page.', array(
    '!url' => url('admin/settings/filters'),
  )));
  return array();
}

/**
 * Implementation of hook_uninstall().
 */
function spoiler_uninstall() {
  drupal_set_message(t('Spoiler module: Uninstallation script complete.'));
}

Functions

Namesort descending Description
spoiler_install Implementation of hook_install().
spoiler_uninstall Implementation of hook_uninstall().