You are here

email.install in Email Field 7

Same filename and directory in other branches
  1. 6 email.install

Defines schema for email fields

File

email.install
View source
<?php

/**
 * @file
 * Defines schema for email fields
 */

/**
 * Implements hook_field_schema().
 */
function email_field_schema($field) {
  return array(
    'columns' => array(
      'email' => array(
        'type' => 'varchar',
        'length' => 255,
        'not null' => FALSE,
      ),
    ),
  );
}

Functions

Namesort descending Description
email_field_schema Implements hook_field_schema().