flog.install in File logger 7
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('File logger installed. <a href="' . url('admin/config/development/flog') . '">Configure and enable</a>.');
}
/**
* 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(). |