function ace_editor_menu in Ace Code Editor 7
Implements hook_menu().
Add a settings page to configure the module.
File
- ./
ace_editor.module, line 12 - Ace Editor module.
Code
function ace_editor_menu() {
$items = array();
$items['admin/config/content/ace-editor'] = array(
'title' => 'Ace Editor',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'ace_editor_settings_form',
),
'access arguments' => array(
'configure ace editor',
),
'type' => MENU_NORMAL_ITEM,
'file' => 'ace_editor.admin.inc',
);
return $items;
}