menu_block_export.module 975 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. /**
  3. * @file
  4. * Provides export interface for Menu block.
  5. */
  6. /**
  7. * Implements hook_menu().
  8. */
  9. function menu_block_export_menu() {
  10. $items['admin/config/user-interface/menu-block/config'] = array(
  11. 'title' => 'Configure',
  12. 'type' => MENU_DEFAULT_LOCAL_TASK,
  13. );
  14. $items['admin/config/user-interface/menu-block/export'] = array(
  15. 'title' => 'export',
  16. 'description' => 'Export menu blocks.',
  17. 'access arguments' => array('administer blocks'),
  18. 'page callback' => 'menu_block_export_export',
  19. 'type' => MENU_LOCAL_TASK,
  20. 'file' => 'menu_block_export.admin.inc',
  21. );
  22. $items['admin/config/user-interface/menu-block/export/results'] = array(
  23. 'title' => 'Menu block bulk export results',
  24. 'description' => 'Exported menu blocks.',
  25. 'access arguments' => array('administer blocks'),
  26. 'page callback' => 'menu_block_export_export',
  27. 'type' => MENU_CALLBACK,
  28. 'file' => 'menu_block_export.admin.inc',
  29. );
  30. return $items;
  31. }