'type' => MENU_CALLBACK,
);
- // Ajax responder
- $items[] = array(
- 'path' => 'panels/argument/ajax/add',
- 'access' => $access,
- 'callback' => 'panels_page_passthru',
- 'callback arguments' => array('panels_page_ajax_argument_add'),
- 'type' => MENU_CALLBACK,
- );
- $items[] = array(
- 'path' => 'panels/argument/ajax/edit',
- 'access' => $access,
- 'callback' => 'panels_page_passthru',
- 'callback arguments' => array('panels_page_ajax_argument_edit'),
- 'type' => MENU_CALLBACK,
- );
-
- // Ajax responder
- $items[] = array(
- 'path' => 'panels/relationship/ajax/add',
- 'access' => $access,
- 'callback' => 'panels_page_passthru',
- 'callback arguments' => array('panels_page_ajax_relationship_add'),
- 'type' => MENU_CALLBACK,
- );
- $items[] = array(
- 'path' => 'panels/relationship/ajax/edit',
- 'access' => $access,
- 'callback' => 'panels_page_passthru',
- 'callback arguments' => array('panels_page_ajax_relationship_edit'),
- 'type' => MENU_CALLBACK,
- );
-
- // Ajax responder
- $items[] = array(
- 'path' => 'panels/context/ajax/add',
- 'access' => $access,
- 'callback' => 'panels_page_passthru',
- 'callback arguments' => array('panels_page_ajax_context_add'),
- 'type' => MENU_CALLBACK,
- );
- $items[] = array(
- 'path' => 'panels/context/ajax/edit',
- 'access' => $access,
- 'callback' => 'panels_page_passthru',
- 'callback arguments' => array('panels_page_ajax_context_edit'),
- 'type' => MENU_CALLBACK,
- );
-
// Get all panels and, if enabled, create menu items.
foreach ($panels as $panel_page) {
if (empty($panel_page->disabled)) {