You are here

function geshinode_menu in GeSHi Filter for syntax highlighting 6

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

Implementation of hook_menu()

File

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

Code

function geshinode_menu() {
  $items = array();
  $items['admin/settings/geshifilter/geshinode'] = array(
    'title' => 'GeSHi node',
    'description' => 'Settings of the GeSHi source code node type.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'geshinode_settings',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'type' => MENU_LOCAL_TASK,
  );
  return $items;
}