function ueditor_menu in UEditor - 百度编辑器 7.2
Same name and namespace in other branches
- 7.3 ueditor.module \ueditor_menu()
Implements hook_menu().
File
- ./
ueditor.module, line 57 - Integration ueditor for wysiwyg.
Code
function ueditor_menu() {
$items['admin/config/content/ueditor'] = array(
'title' => 'UEditor Global Settings',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'ueditor_global_settings',
),
'description' => 'Configure ueditor global options.',
'access arguments' => array(
'administer ueditor',
),
'restrict access' => TRUE,
);
$items['ueditor/controller'] = array(
'title' => 'Ueditor Control',
'page callback' => '_ueditor_controller',
'access arguments' => array(
'upload file with ueditor',
),
'type' => MENU_CALLBACK,
);
return $items;
}