You are here

function geshifield_field_info in GeSHi Filter for syntax highlighting 6

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

Implementation of hook_field_info().

File

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

Code

function geshifield_field_info() {
  return array(
    'geshifield' => array(
      // @todo: better label? "Source code field"?
      'label' => t('GeSHi field'),
      'description' => t('Source code text field with GeSHi syntax highlighting.'),
    ),
  );
}