You are here

function geshinode_menu in GeSHi Filter for syntax highlighting 5.2

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

Implementation of hook_menu()

File

./geshinode.module, line 6

Code

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