function module_test_enable

Implements hook_enable().

File

drupal/core/modules/system/tests/modules/module_test/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()',
  );
  drupal_write_record('module_test', $record);
}