function biblio_fields_field_schema in Bibliography Module 7.2
Implements hook_field_schema(). Create a field type so that we can store additional data with our fields
File
- modules/
biblio_fields/ biblio_fields.install, line 7
Code
function biblio_fields_field_schema($field) {
if ($field['type'] == 'biblio_text') {
$schema['columns']['value'] = array(
'type' => 'text',
'not null' => FALSE,
);
$schema['indexes'] = array();
return $schema;
}
}