biblio_fields.install in Bibliography Module 7.2
File
modules/biblio_fields/biblio_fields.installView source
<?php
/**
* Implements hook_field_schema().
* Create a field type so that we can store additional data with our fields
*/
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;
}
}
Functions
Name![]() |
Description |
---|---|
biblio_fields_field_schema | Implements hook_field_schema(). Create a field type so that we can store additional data with our fields |