You are here

function mee_menu in Scald: Media Management made easy 7

Implements hook_menu().

File

modules/fields/mee/mee.module, line 13
Defines a special textarea, with drag and drop media driven by Scald and dnd.module.

Code

function mee_menu() {

  // AJAX callback used to render atoms in the widget-based plugin for
  // CKEditor4.
  $items['atom/ajax-widget-expand/%scald_atom_fallback'] = array(
    'page callback' => 'mee_ajax_widget_expand',
    'page arguments' => array(
      2,
    ),
    'access callback' => TRUE,
    'delivery callback' => 'ajax_deliver',
    'theme callback' => 'ajax_base_page_theme',
  );
  return $items;
}