function syntaxhighlighter_menu in Syntax Highlighter 6
Same name and namespace in other branches
- 6.2 syntaxhighlighter.module \syntaxhighlighter_menu()
- 7.2 syntaxhighlighter.module \syntaxhighlighter_menu()
- 7 syntaxhighlighter.module \syntaxhighlighter_menu()
Menu for admin settings page
File
- ./
syntaxhighlighter.module, line 40 - Syntax highlight code using the Syntaxhighlighter javascript library. See http://alexgorbatchev.com/wiki/SyntaxHighlighter
Code
function syntaxhighlighter_menu() {
$items['admin/settings/syntaxhighlighter'] = array(
'title' => 'Syntax highlighter',
'description' => 'Configure syntax highlighter',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'syntaxhighlighter_settings_form',
),
'access arguments' => array(
'administer site configuration',
),
'type' => MENU_NORMAL_ITEM,
'file' => 'syntaxhighlighter.admin.inc',
);
return $items;
}