You are here

function email_field_settings in Email Field 5

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

Implementation of hook_field_settings().

File

./email.module, line 28

Code

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