You are here

function ckeditor_menu in CKEditor - WYSIWYG HTML editor 7

Same name and namespace in other branches
  1. 6 ckeditor.module \ckeditor_menu()

Implementation of hook_menu().

File

./ckeditor.module, line 72
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 callback' => TRUE,
    'type' => MENU_CALLBACK,
  );
  $items['ckeditor/disable/wysiwyg/%'] = array(
    'title' => 'Disable the WYSIWYG module',
    'description' => 'Disable WYSIWYG module.',
    'page callback' => 'ckeditor_disable_wysiwyg',
    'page arguments' => array(
      3,
    ),
    'file' => 'includes/ckeditor.admin.inc',
    'access arguments' => array(
      'administer ckeditor',
    ),
    'access callback' => TRUE,
    'type' => MENU_CALLBACK,
  );
  $items['admin/config/content/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/config/content/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/config/content/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',
      'add',
    ),
    'file' => 'includes/ckeditor.admin.inc',
    'access arguments' => array(
      'administer ckeditor',
    ),
    'type' => MENU_CALLBACK,
  );
  $items['admin/config/content/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',
      'clone',
      5,
    ),
    'file' => 'includes/ckeditor.admin.inc',
    'access arguments' => array(
      'administer ckeditor',
    ),
    'type' => MENU_CALLBACK,
  );
  $items['admin/config/content/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',
      'edit',
      5,
    ),
    'file' => 'includes/ckeditor.admin.inc',
    'access arguments' => array(
      'administer ckeditor',
    ),
    'type' => MENU_CALLBACK,
  );
  $items['admin/config/content/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',
      5,
    ),
    'file' => 'includes/ckeditor.admin.inc',
    'access arguments' => array(
      'administer ckeditor',
    ),
    'type' => MENU_CALLBACK,
  );
  $items['admin/config/content/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/config/content/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,
  );
  return $items;
}