You are here

function geshifield_theme in GeSHi Filter for syntax highlighting 8

Same name and namespace in other branches
  1. 8.2 geshifield/geshifield.module \geshifield_theme()
  2. 6 geshifield/geshifield.module \geshifield_theme()
  3. 7 geshifield/geshifield.module \geshifield_theme()

Implements hook_theme().

File

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

Code

function geshifield_theme() {
  return [
    'geshifield_default' => [
      'function' => 'geshifield_formatter_default',
      'render element' => 'geshifield',
    ],
  ];
}