You are here

formatter_field.install in Formatter Field 7

File

formatter_field.install
View source
<?php

/**
 * @file
 */

/**
 * Implements hook_field_schema().
 */
function formatter_field_field_schema($field) {
  return array(
    'columns' => array(
      'type' => array(
        'type' => 'varchar',
        'length' => '64',
        'not null' => FALSE,
      ),
      'settings' => array(
        'type' => 'text',
        'size' => 'big',
        'not null' => FALSE,
        'serialize' => TRUE,
      ),
    ),
  );
}

Functions