You are here

function email_field_settings in Email Field 6

Same name and namespace in other branches
  1. 5 email.module \email_field_settings()
  2. 6.2 email.module \email_field_settings()

Implementation of hook_field_settings().

File

./email.module, line 47

Code

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