debut_media.features.menu_links.inc 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <?php
  2. /**
  3. * Implementation of hook_menu_default_menu_links().
  4. */
  5. function debut_media_menu_default_menu_links() {
  6. $menu_links = array();
  7. if (module_exists('debut')) {
  8. // Exported menu link: main-menu:file
  9. $menu_links['main-menu:file'] = array(
  10. 'menu_name' => 'main-menu',
  11. 'link_path' => 'file',
  12. 'router_path' => 'file',
  13. 'link_title' => 'Multimedia',
  14. 'options' => array(
  15. 'attributes' => array(
  16. 'title' => 'View media files.',
  17. ),
  18. ),
  19. 'module' => 'menu',
  20. 'hidden' => '0',
  21. 'external' => '0',
  22. 'has_children' => '1',
  23. 'expanded' => '0',
  24. 'weight' => '15',
  25. );
  26. // Exported menu link: main-menu:file/images
  27. $menu_links['main-menu:file/image'] = array(
  28. 'menu_name' => 'main-menu',
  29. 'link_path' => 'file/image',
  30. 'router_path' => 'file/image',
  31. 'link_title' => 'Images',
  32. 'options' => array(
  33. 'attributes' => array(
  34. 'title' => 'View images.',
  35. ),
  36. ),
  37. 'module' => 'menu',
  38. 'hidden' => '0',
  39. 'external' => '0',
  40. 'has_children' => '0',
  41. 'expanded' => '0',
  42. 'weight' => '0',
  43. 'parent_path' => 'file',
  44. );
  45. // Exported menu link: main-menu:file/video
  46. $menu_links['main-menu:file/video'] = array(
  47. 'menu_name' => 'main-menu',
  48. 'link_path' => 'file/video',
  49. 'router_path' => 'file/video',
  50. 'link_title' => 'Video',
  51. 'options' => array(
  52. 'attributes' => array(
  53. 'title' => 'View all videos.',
  54. ),
  55. ),
  56. 'module' => 'menu',
  57. 'hidden' => '0',
  58. 'external' => '0',
  59. 'has_children' => '0',
  60. 'expanded' => '0',
  61. 'weight' => '0',
  62. 'parent_path' => 'file',
  63. );
  64. // Translatables
  65. // Included for use with string extractors like potx.
  66. t('Images');
  67. t('Media');
  68. t('Video');
  69. }
  70. return $menu_links;
  71. }