function asset_field_settings in Asset 6
Same name in this branch
- 6 modules/asset_content.inc \asset_field_settings()
- 6 inc/modules/asset_content.inc \asset_field_settings()
Same name and namespace in other branches
- 5.2 modules/asset_content.inc \asset_field_settings()
- 5 modules/asset_content.inc \asset_field_settings()
Implementation of cck hook_field_settings().
File
- inc/
modules/ asset_content.inc, line 27
Code
function asset_field_settings($op, $field) {
switch ($op) {
case 'database columns':
return array(
'aid' => array(
'type' => 'int',
'unsigned' => true,
),
'options' => array(
'type' => 'text',
'size' => 'big',
),
'caption' => array(
'type' => 'text',
'size' => 'big',
),
'copyright' => array(
'type' => 'text',
'size' => 'big',
),
);
break;
}
}