function media_ckeditor_menu in Media CKEditor 7.2
Implements hook_menu().
File
- ./
media_ckeditor.module, line 155 - Primarily Drupal hooks.
Code
function media_ckeditor_menu() {
$items = array();
// Add our AJAX-friendly route for rendering the file entities for use in
// the WYSIWYG editor.
$items['media/rendered-in-wysiwyg'] = array(
'page callback' => 'media_ckeditor_rendered_file_in_wysiwyg',
'access callback' => '_media_ckeditor_fully_rendered_files_in_wysiwyg',
'file' => 'includes/media_ckeditor.pages.inc',
'theme callback' => 'ajax_base_page_theme',
'type' => MENU_CALLBACK,
);
return $items;
}