export-ui.menu.inc

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

Functions

Namesort descending Description
ctools_export_ui_menu Delegated implementation of hook_menu().

File

sites/all/modules/ulmus/ctools/includes/export-ui.menu.inc
View source
  1. <?php
  2. /**
  3. * Delegated implementation of hook_menu().
  4. */
  5. function ctools_export_ui_menu(&$items) {
  6. ctools_include('export-ui');
  7. // If a menu rebuild is triggered because of module enable/disable,
  8. // this might be out of date. Reset the cache.
  9. ctools_include('plugins');
  10. ctools_get_plugins_reset();
  11. foreach (ctools_get_export_uis() as $plugin) {
  12. // We also need to make sure that the module hasn't been disabled. During
  13. // the disable process, the module's plugins still still appear.
  14. if ($plugin['has menu'] && module_exists($plugin['module'])) {
  15. $handler = ctools_export_ui_get_handler($plugin);
  16. if ($handler) {
  17. $handler->hook_menu($items);
  18. }
  19. }
  20. }
  21. }