function serial_content_fieldapi in Serial Field 6
Implementation of hook_fieldapi().
File
- ./
serial.module, line 27 - The Serial module main file.
Code
function serial_content_fieldapi($op, $field) {
if ($field['type'] == 'serial') {
switch ($op) {
case 'create instance':
module_load_include('inc', 'serial');
_serial_create_table($field);
break;
case 'delete instance':
module_load_include('inc', 'serial');
_serial_drop_table($field);
break;
}
}
}