You are here

isbn.install in ISBN Field 7

Same filename and directory in other branches
  1. 8 isbn.install
  2. 6.0 isbn.install

Defines schema for ISBN fields

File

isbn.install
View source
<?php

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

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

Functions

Namesort descending Description
isbn_field_schema Implements hook_field_schema().