You are here

function geshinode_node_info in GeSHi Filter for syntax highlighting 6

Same name and namespace in other branches
  1. 5.2 geshinode.module \geshinode_node_info()

Implementation of hook_node_info().

File

./geshinode.module, line 36
Implementation of a GeSHi node.

Code

function geshinode_node_info() {
  return array(
    'geshinode' => array(
      'name' => t('Source code node'),
      'module' => 'geshinode',
      'description' => t('Source code with GeSHi syntax highlighting.'),
      'has_title' => TRUE,
      'title_label' => t('Title'),
      'has_body' => TRUE,
      'body_label' => t('Source code'),
    ),
  );
}