function geshifield_field_schema in GeSHi Filter for syntax highlighting 7
Same name and namespace in other branches
- 8.2 geshifield/geshifield.install \geshifield_field_schema()
- 8 geshifield/geshifield.install \geshifield_field_schema()
Implements hook_field_schema().
File
- geshifield/
geshifield.install, line 10 - Install and unistall related function for the GeSHi Field module.
Code
function geshifield_field_schema($field) {
return array(
'columns' => array(
'sourcecode' => array(
'type' => 'text',
'size' => 'big',
'not null' => FALSE,
'sortable' => TRUE,
),
'language' => array(
'type' => 'varchar',
'length' => 255,
'not null' => FALSE,
'sortable' => TRUE,
),
),
);
}