machine_name.install in Machine name 7
Same filename and directory in other branches
Install, update and uninstall functions for the machine_name module.
File
machine_name.installView source
<?php
/**
* @file
* Install, update and uninstall functions for the machine_name module.
*/
/**
* Implements hook_field_schema().
*/
function machine_name_field_schema($field) {
$schema['columns'] = array(
'value' => array(
'type' => 'varchar',
'length' => 128,
'not null' => TRUE,
'default' => '',
),
);
$schema['indexes'] = array(
'value' => array(
'value',
),
);
return $schema;
}
Functions
Name | Description |
---|---|
machine_name_field_schema | Implements hook_field_schema(). |