geshifield.install in GeSHi Filter for syntax highlighting 7
Same filename and directory in other branches
Install and unistall related function for the GeSHi Field module.
File
geshifield/geshifield.installView source
<?php
/**
* @file
* Install and unistall related function for the GeSHi Field module.
*/
/**
* Implements hook_field_schema().
*/
function geshifield_field_schema($field) {
return array(
'columns' => array(
'sourcecode' => array(
'type' => 'text',
'size' => 'big',
'not null' => FALSE,
'sortable' => TRUE,
),
'language' => array(
'type' => 'varchar',
'length' => 255,
'not null' => FALSE,
'sortable' => TRUE,
),
),
);
}
Functions
Name | Description |
---|---|
geshifield_field_schema | Implements hook_field_schema(). |