page.strongarm.inc 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. <?php
  2. /**
  3. * @file
  4. * page.strongarm.inc
  5. */
  6. /**
  7. * Implements hook_strongarm().
  8. */
  9. function page_strongarm() {
  10. $export = array();
  11. $strongarm = new stdClass();
  12. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  13. $strongarm->api_version = 1;
  14. $strongarm->name = 'field_bundle_settings_node__page';
  15. $strongarm->value = array(
  16. 'view_modes' => array(
  17. 'teaser' => array(
  18. 'custom_settings' => TRUE,
  19. ),
  20. 'chapter' => array(
  21. 'custom_settings' => TRUE,
  22. ),
  23. 'full' => array(
  24. 'custom_settings' => FALSE,
  25. ),
  26. 'rss' => array(
  27. 'custom_settings' => FALSE,
  28. ),
  29. 'token' => array(
  30. 'custom_settings' => FALSE,
  31. ),
  32. ),
  33. 'extra_fields' => array(
  34. 'form' => array(
  35. 'title' => array(
  36. 'weight' => '-5',
  37. ),
  38. 'path' => array(
  39. 'weight' => '30',
  40. ),
  41. 'redirect' => array(
  42. 'weight' => '30',
  43. ),
  44. 'workflow' => array(
  45. 'weight' => '99',
  46. ),
  47. ),
  48. 'display' => array(
  49. 'workflow_current_state' => array(
  50. 'default' => array(
  51. 'weight' => '1',
  52. 'visible' => FALSE,
  53. ),
  54. ),
  55. 'workflow' => array(
  56. 'default' => array(
  57. 'weight' => '2',
  58. 'visible' => FALSE,
  59. ),
  60. ),
  61. ),
  62. ),
  63. );
  64. $export['field_bundle_settings_node__page'] = $strongarm;
  65. $strongarm = new stdClass();
  66. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  67. $strongarm->api_version = 1;
  68. $strongarm->name = 'language_content_type_page';
  69. $strongarm->value = '0';
  70. $export['language_content_type_page'] = $strongarm;
  71. $strongarm = new stdClass();
  72. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  73. $strongarm->api_version = 1;
  74. $strongarm->name = 'menu_options_page';
  75. $strongarm->value = array(
  76. 0 => 'menu-footer-menu',
  77. );
  78. $export['menu_options_page'] = $strongarm;
  79. $strongarm = new stdClass();
  80. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  81. $strongarm->api_version = 1;
  82. $strongarm->name = 'menu_parent_page';
  83. $strongarm->value = 'main-menu:0';
  84. $export['menu_parent_page'] = $strongarm;
  85. $strongarm = new stdClass();
  86. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  87. $strongarm->api_version = 1;
  88. $strongarm->name = 'node_options_page';
  89. $strongarm->value = array(
  90. 0 => 'status',
  91. );
  92. $export['node_options_page'] = $strongarm;
  93. $strongarm = new stdClass();
  94. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  95. $strongarm->api_version = 1;
  96. $strongarm->name = 'node_preview_page';
  97. $strongarm->value = '1';
  98. $export['node_preview_page'] = $strongarm;
  99. $strongarm = new stdClass();
  100. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  101. $strongarm->api_version = 1;
  102. $strongarm->name = 'node_submitted_page';
  103. $strongarm->value = 0;
  104. $export['node_submitted_page'] = $strongarm;
  105. $strongarm = new stdClass();
  106. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  107. $strongarm->api_version = 1;
  108. $strongarm->name = 'pathauto_node_page_pattern';
  109. $strongarm->value = '';
  110. $export['pathauto_node_page_pattern'] = $strongarm;
  111. return $export;
  112. }