function table_trash_enable in Table Trash 7
Implements hook_enable().
File
- ./
table_trash.install, line 11 - Install and uninstall functions for the table_trash module.
Code
function table_trash_enable() {
drupal_set_message(st("Thank you for installing Table Trash. If you have installed the DataTables JS library, then all you have to do now is create your <a href='@url'>table decoration</a> and you're done.", array(
'@url' => url('admin/config/content/table_trash'),
)));
if (!variable_get('table_trash_global_settings', FALSE)) {
variable_set('table_trash_global_settings', array(
'load_from' => 'module',
'use_datatables_css' => 1,
'use_table_trash_css' => 1,
));
}
}