function ckeditor_menu in CKEditor - WYSIWYG HTML editor 6
Same name and namespace in other branches
- 7 ckeditor.module \ckeditor_menu()
Implementation of hook_menu().
File
- ./
ckeditor.module, line 295 - CKEditor - The text editor for the Internet - http://ckeditor.com Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
Code
function ckeditor_menu() {
$items = array();
$items['ckeditor/xss'] = array(
'title' => 'XSS Filter',
'description' => 'XSS Filter.',
'page callback' => 'ckeditor_filter_xss',
'file' => 'includes/ckeditor.page.inc',
'access arguments' => array(
'access ckeditor',
),
'type' => MENU_CALLBACK,
);
$items['ckeditor/disable/wysiwyg/%'] = array(
'title' => 'Disable WYSIWYG module',
'description' => 'Disable the WYSIWYG module.',
'page callback' => 'ckeditor_disable_wysiwyg',
'page arguments' => array(
3,
),
'file' => 'includes/ckeditor.admin.inc',
'access arguments' => array(
'administer ckeditor',
),
'type' => MENU_CALLBACK,
);
$items['admin/settings/ckeditor'] = array(
'title' => 'CKEditor',
'description' => 'Configure the rich text editor.',
'page callback' => 'ckeditor_admin_main',
'file' => 'includes/ckeditor.admin.inc',
'access arguments' => array(
'administer ckeditor',
),
'type' => MENU_NORMAL_ITEM,
);
$items['admin/settings/ckeditor/skinframe'] = array(
'title' => 'Change skin of CKEditor',
'description' => 'Configure skin for CKEditor.',
'page callback' => 'ckeditor_skinframe',
'file' => 'includes/ckeditor.admin.inc',
'access arguments' => array(
'administer ckeditor',
),
'type' => MENU_CALLBACK,
);
$items['admin/settings/ckeditor/add'] = array(
'title' => 'Add a new CKEditor profile',
'description' => 'Configure the rich text editor.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'ckeditor_admin_profile_form',
),
'file' => 'includes/ckeditor.admin.inc',
'access arguments' => array(
'administer ckeditor',
),
'type' => MENU_CALLBACK,
);
$items['admin/settings/ckeditor/clone/%ckeditor_profile'] = array(
'title' => 'Clone the CKEditor profile',
'description' => 'Configure the rich text editor.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'ckeditor_admin_profile_clone_form',
4,
),
'file' => 'includes/ckeditor.admin.inc',
'access arguments' => array(
'administer ckeditor',
),
'type' => MENU_CALLBACK,
);
$items['admin/settings/ckeditor/edit/%ckeditor_profile'] = array(
'title' => 'Edit the CKEditor profile',
'description' => 'Configure the rich text editor.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'ckeditor_admin_profile_form',
4,
),
'file' => 'includes/ckeditor.admin.inc',
'access arguments' => array(
'administer ckeditor',
),
'type' => MENU_CALLBACK,
);
$items['admin/settings/ckeditor/delete/%ckeditor_profile'] = array(
'title' => 'Delete the CKEditor profile',
'description' => 'Configure the rich text editor.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'ckeditor_admin_profile_delete_form',
4,
),
'file' => 'includes/ckeditor.admin.inc',
'access arguments' => array(
'administer ckeditor',
),
'type' => MENU_CALLBACK,
);
$items['admin/settings/ckeditor/addg'] = array(
'title' => 'Add the CKEditor Global profile',
'description' => 'Configure the rich text editor.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'ckeditor_admin_global_profile_form',
'add',
),
'file' => 'includes/ckeditor.admin.inc',
'access arguments' => array(
'administer ckeditor',
),
'type' => MENU_CALLBACK,
);
$items['admin/settings/ckeditor/editg'] = array(
'title' => 'Edit the CKEditor Global profile',
'description' => 'Configure the rich text editor.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'ckeditor_admin_global_profile_form',
'edit',
),
'file' => 'includes/ckeditor.admin.inc',
'access arguments' => array(
'administer ckeditor',
),
'type' => MENU_CALLBACK,
);
$items['admin/ckeditor/get_settings'] = array(
'title' => 'Get settings for the CKEditor instance',
'description' => 'Get settings for the CKEditor instance',
'page callback' => 'ckeditor_get_settings',
'access arguments' => array(
'access ckeditor',
),
'type' => MENU_CALLBACK,
);
return $items;
}