You are here

function geshifield_elements in GeSHi Filter for syntax highlighting 6

Implementation of hook_elements().

File

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

Code

function geshifield_elements() {
  $elements = array(
    'geshifield_textarea' => array(
      '#input' => TRUE,
      '#process' => array(
        'geshifield_textarea_process',
      ),
    ),
  );
  return $elements;
}