flog.install in File logger 6
Same filename and directory in other branches
flog: Dump variables to a file.
File
flog.installView source
<?php
/**
* @file
* flog: Dump variables to a file.
*/
/**
* Implementation of hook_install().
*/
function flog_install() {
drupal_set_message(st("File logger installed. Configure and enable at !link", array(
'!link' => l('Administer > Site configuration > File logging ', 'admin/settings/flog'),
)));
}
/**
* Implementation of hook_uninstall().
*/
function flog_uninstall() {
variable_del('flog_enabled');
variable_del('flog_path');
variable_del('flog_file');
variable_del('flog_date');
}
Functions
Name![]() |
Description |
---|---|
flog_install | Implementation of hook_install(). |
flog_uninstall | Implementation of hook_uninstall(). |