1 ckeditor5.module | ckeditor5_menu() |
Implements hook_menu().
File
- core/
modules/ ckeditor5/ ckeditor5.module, line 12 - Provides integration with the CKEditor WYSIWYG editor.
Code
function ckeditor5_menu() {
$items['ckeditor5/upload/image/%filter_format'] = array(
'title' => 'Upload image',
'page callback' => 'ckeditor5_image_upload',
'page arguments' => array(3),
'access callback' => 'filter_dialog_access',
'access arguments' => array(3, 'image'),
'theme callback' => 'ajax_base_page_theme',
'delivery callback' => 'backdrop_json_deliver',
'type' => MENU_CALLBACK,
'file' => 'ckeditor5.pages.inc',
);
$items['admin/config/content/formats/%filter_format/ckeditor5-upgrade'] = array(
'title' => 'Upgrade CKEditor 4 to CKEditor 5',
'page callback' => 'backdrop_get_form',
'page arguments' => array('ckeditor5_upgrade_form', 4),
'access arguments' => array('administer filters'),
'type' => MENU_IS_LOCAL_TASK | MENU_VISIBLE_IN_BREADCRUMB,
'file' => 'ckeditor5.upgrade.inc',
);
return $items;
}