You are here

vud_field.install in Vote Up/Down 7.2

Same filename and directory in other branches
  1. 7 vud_field/vud_field.install

Install file for the vud_field module.

File

vud_field/vud_field.install
View source
<?php

/**
 * @file
 * Install file for the vud_field module.
 */

/**
 * Implements hook_field_schema().
 */
function vud_field_field_schema($field) {
  return array(
    'columns' => array(
      'vud_widget' => array(
        'type' => 'varchar',
        'length' => 255,
        'not null' => FALSE,
        'sortable' => TRUE,
      ),
      'votingapi_tag' => array(
        'type' => 'varchar',
        'length' => 64,
        'not null' => TRUE,
        'default' => 'vote',
      ),
    ),
  );
}

Functions

Namesort descending Description
vud_field_field_schema Implements hook_field_schema().