You are here

function geshifield_field_info in GeSHi Filter for syntax highlighting 7

Same name and namespace in other branches
  1. 6 geshifield/geshifield.module \geshifield_field_info()

Implementation of hook_field_info().

File

geshifield/geshifield.module, line 32
Defines a CCK field for source code with GeSHi syntax highlighting.

Code

function geshifield_field_info() {
  return array(
    'geshifield' => array(
      'label' => t('GeSHi field'),
      'description' => t('This field stores long text in the database.'),
      'default_widget' => 'geshifield_textarea',
      'default_formatter' => 'default',
    ),
  );
}