You are here

function soundcloudfield_field_settings in SoundCloud field 6

Implementation of hook_field_settings().

File

./soundcloudfield.module, line 62
SoundCloud CCK field.

Code

function soundcloudfield_field_settings($op, $field) {
  switch ($op) {
    case 'database columns':
      $columns = array(
        'embed' => array(
          'type' => 'varchar',
          'length' => 255,
          'not null' => FALSE,
          'sortable' => TRUE,
        ),
      );
      return $columns;
  }
}