function serial_field_settings in Serial Field 6
Implementation of hook_field_settings().
File
- ./
serial.module, line 46 - The Serial module main file.
Code
function serial_field_settings($op, $field) {
switch ($op) {
case 'database columns':
$columns['value'] = array(
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
'sortable' => TRUE,
'views' => TRUE,
'index' => TRUE,
);
return $columns;
}
}