You are here

hms_field.install in HMS Field 7

Holds the schema for a hms_field.

File

hms_field.install
View source
<?php

/**
 * @file
 * Holds the schema for a hms_field.
 */

/**
 * Implements hook_field_schema().
 */
function hms_field_field_schema($field) {
  $columns = array(
    'value' => array(
      'type' => 'int',
      'unsigned' => FALSE,
      'not null' => TRUE,
      'default' => 0,
    ),
  );
  return array(
    'columns' => $columns,
  );
}

Functions

Namesort descending Description
hms_field_field_schema Implements hook_field_schema().