function tablefield_field_schema in TableField 7.2
Same name and namespace in other branches
- 7.3 tablefield.install \tablefield_field_schema()
- 7 tablefield.module \tablefield_field_schema()
Implements hook_field_schema().
File
- ./
tablefield.install, line 31 - Installation options for TableField.
Code
function tablefield_field_schema($field) {
return array(
'columns' => array(
'value' => array(
'type' => 'text',
'size' => 'big',
),
'format' => array(
'type' => 'varchar',
'length' => 255,
'default value' => '',
),
),
);
}