You are here

function asset_field_settings in Asset 6

Same name in this branch
  1. 6 modules/asset_content.inc \asset_field_settings()
  2. 6 inc/modules/asset_content.inc \asset_field_settings()
Same name and namespace in other branches
  1. 5.2 modules/asset_content.inc \asset_field_settings()
  2. 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;
  }
}