home | career | drupal | java | mac | mysql | perl | php | scala | uml | unix

Drupal example source code file (email.install)

This example Drupal source code file (email.install) is included in the DevDaily.com "Drupal Source Code Warehouse" project. The intent of this project is to help you "Learn Drupal by Example".

PHP - Drupal tags/keywords

255, array, columns, email_field_schema, false, function, length, not, null, php, return, type, varchar

The email.install Drupal example source code

<?php

// $Id: email.install,v 1.1.2.3.2.3 2011/01/20 12:50:06 mh86 Exp $

/**
 * @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,
      ),
    ),
  );
}

Other Drupal examples (source code examples)

Here is a short list of links related to this Drupal email.install source code file:

new blog posts

"Drupal" is a registered trademark of Dries Buytaert.

my drupal tutorials and examples  

Copyright 1998-2016 Alvin Alexander, alvinalexander.com
All Rights Reserved.

Beginning in 2016, a portion of the proceeds from pages under the '/drupal-code-examples/' URI will be donated to charity.