vud_field.install in Vote Up/Down 7
Same filename and directory in other branches
Install file for the vud_field module.
File
vud_field/vud_field.installView 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
Name | Description |
---|---|
vud_field_field_schema | Implements hook_field_schema(). |