popsu_structure.features.inc 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <?php
  2. /**
  3. * @file
  4. * popsu_structure.features.inc
  5. */
  6. /**
  7. * Implements hook_block_class_features_default_class().
  8. */
  9. function popsu_structure_block_class_features_default_class() {
  10. return array(
  11. 'menu:menu-popsu-menu-footer' => array(
  12. 'module' => 'menu',
  13. 'delta' => 'menu-popsu-menu-footer',
  14. 'css_classes' => 'menu-footer menu-inline',
  15. ),
  16. 'menu:menu-popus-menu-header' => array(
  17. 'module' => 'menu',
  18. 'delta' => 'menu-popus-menu-header',
  19. 'css_classes' => 'span1 menu-header',
  20. ),
  21. 'menu_block:1' => array(
  22. 'module' => 'menu_block',
  23. 'delta' => '1',
  24. 'css_classes' => 'left-nav left-nav-level-2',
  25. ),
  26. 'menu_block:2' => array(
  27. 'module' => 'menu_block',
  28. 'delta' => '2',
  29. 'css_classes' => 'left-nav left-nav-level-0',
  30. ),
  31. 'menu_block:3' => array(
  32. 'module' => 'menu_block',
  33. 'delta' => '3',
  34. 'css_classes' => 'left-nav left-nav-level-1',
  35. ),
  36. 'menu_block:4' => array(
  37. 'module' => 'menu_block',
  38. 'delta' => '4',
  39. 'css_classes' => 'left-nav left-nav-level-1',
  40. ),
  41. 'menu_block:5' => array(
  42. 'module' => 'menu_block',
  43. 'delta' => '5',
  44. 'css_classes' => 'left-nav left-nav-level-2',
  45. ),
  46. 'menu_block:6' => array(
  47. 'module' => 'menu_block',
  48. 'delta' => '6',
  49. 'css_classes' => 'left-nav left-nav-level-1',
  50. ),
  51. );
  52. }
  53. /**
  54. * Implements hook_ctools_plugin_api().
  55. */
  56. function popsu_structure_ctools_plugin_api() {
  57. list($module, $api) = func_get_args();
  58. if ($module == "boxes" && $api == "box") {
  59. return array("version" => "1");
  60. }
  61. list($module, $api) = func_get_args();
  62. if ($module == "context" && $api == "context") {
  63. return array("version" => "3");
  64. }
  65. list($module, $api) = func_get_args();
  66. if ($module == "panels" && $api == "layouts") {
  67. return array("version" => "1");
  68. }
  69. list($module, $api) = func_get_args();
  70. if ($module == "strongarm" && $api == "strongarm") {
  71. return array("version" => "1");
  72. }
  73. }