spoiler.install in Spoiler 5
Same filename and directory in other branches
File
spoiler.installView 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
Name![]() |
Description |
---|---|
spoiler_install | Implementation of hook_install(). |
spoiler_uninstall | Implementation of hook_uninstall(). |