1.20.x module_test.install | module_test_enable() |
Implements hook_enable().
File
- modules/
simpletest/ tests/ module_test.install, line 38 - Install, update and uninstall functions for the module_test module.
Code
function module_test_enable() {
$record = array('data' => 'Data inserted in hook_enable()');
backdrop_write_record('module_test', $record);
}