fancybox.install in fancyBox 7
Same filename and directory in other branches
Installation settings for Fancybox module.
File
fancybox.installView source
<?php
/**
* @file
* Installation settings for Fancybox module.
*/
/**
* Implementation of hook_install()
*/
function fancybox_install() {
_set_fancybox_files();
}
/**
* Implementation of hook_uninstall()
*/
function fancybox_uninstall() {
// Delete variables.
$variables = array(
'fancybox_path',
'fancybox_settings',
'fancybox_files',
);
foreach ($variables as $variable) {
variable_del($variable);
}
}
Functions
Name![]() |
Description |
---|---|
fancybox_install | Implementation of hook_install() |
fancybox_uninstall | Implementation of hook_uninstall() |