context.menu.inc

  1. cis7 sites/all/modules/ulmus/ctools/includes/context.menu.inc
  2. cle7 sites/all/modules/ulmus/ctools/includes/context.menu.inc
  3. ecd7 sites/all/modules/ulmus/ctools/includes/context.menu.inc
  4. elmsmedia7 sites/all/modules/ulmus/ctools/includes/context.menu.inc
  5. harmony7 sites/all/modules/ulmus/ctools/includes/context.menu.inc
  6. icor7 sites/all/modules/ulmus/ctools/includes/context.menu.inc
  7. meedjum_blog7 sites/all/modules/ulmus/ctools/includes/context.menu.inc
  8. mooc7 sites/all/modules/ulmus/ctools/includes/context.menu.inc

Contains menu item registration for the context tool.

The menu items registered are AJAX callbacks for the context configuration popups. They are kept separately for organizational purposes.

Functions

File

sites/all/modules/ulmus/ctools/includes/context.menu.inc
View source
  1. <?php
  2. /**
  3. * @file
  4. * Contains menu item registration for the context tool.
  5. *
  6. * The menu items registered are AJAX callbacks for the context configuration
  7. * popups. They are kept separately for organizational purposes.
  8. */
  9. function ctools_context_menu(&$items) {
  10. $base = array(
  11. 'access arguments' => array('access content'),
  12. 'type' => MENU_CALLBACK,
  13. 'file' => 'includes/context-admin.inc',
  14. 'theme callback' => 'ajax_base_page_theme',
  15. );
  16. $items['ctools/context/ajax/add'] = array(
  17. 'page callback' => 'ctools_context_ajax_item_add',
  18. ) + $base;
  19. $items['ctools/context/ajax/configure'] = array(
  20. 'page callback' => 'ctools_context_ajax_item_edit',
  21. ) + $base;
  22. $items['ctools/context/ajax/delete'] = array(
  23. 'page callback' => 'ctools_context_ajax_item_delete',
  24. ) + $base;
  25. // For the access system
  26. $base['file'] = 'includes/context-access-admin.inc';
  27. $items['ctools/context/ajax/access/add'] = array(
  28. 'page callback' => 'ctools_access_ajax_add',
  29. ) + $base;
  30. $items['ctools/context/ajax/access/configure'] = array(
  31. 'page callback' => 'ctools_access_ajax_edit',
  32. ) + $base;
  33. $items['ctools/context/ajax/access/delete'] = array(
  34. 'page callback' => 'ctools_access_ajax_delete',
  35. ) + $base;
  36. }
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.