function module_test_schema in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/system/tests/modules/module_test/module_test.install \module_test_schema()
Implements hook_schema().
File
- core/
modules/ system/ tests/ modules/ module_test/ module_test.install, line 11 - Install, update and uninstall functions for the module_test module.
Code
function module_test_schema() {
$schema['module_test'] = array(
'description' => 'Dummy table to test the behavior of hook_schema() during module installation.',
'fields' => array(
'data' => array(
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
'default' => '',
'description' => 'An example data column for the module.',
),
),
);
return $schema;
}