function formdefaults_schema in Form Defaults 7
Same name and namespace in other branches
- 8 formdefaults.install \formdefaults_schema()
- 6.2 formdefaults.install \formdefaults_schema()
- 6 formdefaults.install \formdefaults_schema()
Implementation of hook_schema
Return value
array Schema definition array.
File
- ./
formdefaults.install, line 21 - Installation
Code
function formdefaults_schema() {
$schema['formdefaults_forms'] = array(
'fields' => array(
'formid' => array(
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
),
'formdata' => array(
'type' => 'text',
),
),
'primary key' => array(
'formid',
),
);
return $schema;
}