page.strongarm.inc 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  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 = 'additional_settings__active_tab_page';
  15. $strongarm->value = 'edit-menu';
  16. $export['additional_settings__active_tab_page'] = $strongarm;
  17. $strongarm = new stdClass();
  18. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  19. $strongarm->api_version = 1;
  20. $strongarm->name = 'devel_redirect_page';
  21. $strongarm->value = 0;
  22. $export['devel_redirect_page'] = $strongarm;
  23. $strongarm = new stdClass();
  24. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  25. $strongarm->api_version = 1;
  26. $strongarm->name = 'field_bundle_settings_node__page';
  27. $strongarm->value = array(
  28. 'view_modes' => array(
  29. 'teaser' => array(
  30. 'custom_settings' => TRUE,
  31. ),
  32. 'accueil' => array(
  33. 'custom_settings' => TRUE,
  34. ),
  35. 'attente' => array(
  36. 'custom_settings' => TRUE,
  37. ),
  38. 'full' => array(
  39. 'custom_settings' => FALSE,
  40. ),
  41. 'rss' => array(
  42. 'custom_settings' => FALSE,
  43. ),
  44. 'token' => array(
  45. 'custom_settings' => FALSE,
  46. ),
  47. ),
  48. 'extra_fields' => array(
  49. 'form' => array(
  50. 'title' => array(
  51. 'weight' => '0',
  52. ),
  53. 'path' => array(
  54. 'weight' => '3',
  55. ),
  56. 'redirect' => array(
  57. 'weight' => '4',
  58. ),
  59. 'workflow' => array(
  60. 'weight' => '5',
  61. ),
  62. ),
  63. 'display' => array(
  64. 'workflow_current_state' => array(
  65. 'default' => array(
  66. 'weight' => '1',
  67. 'visible' => FALSE,
  68. ),
  69. ),
  70. 'workflow' => array(
  71. 'default' => array(
  72. 'weight' => '2',
  73. 'visible' => FALSE,
  74. ),
  75. ),
  76. ),
  77. ),
  78. );
  79. $export['field_bundle_settings_node__page'] = $strongarm;
  80. $strongarm = new stdClass();
  81. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  82. $strongarm->api_version = 1;
  83. $strongarm->name = 'menu_options_page';
  84. $strongarm->value = array();
  85. $export['menu_options_page'] = $strongarm;
  86. $strongarm = new stdClass();
  87. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  88. $strongarm->api_version = 1;
  89. $strongarm->name = 'menu_parent_page';
  90. $strongarm->value = 'main-menu:0';
  91. $export['menu_parent_page'] = $strongarm;
  92. $strongarm = new stdClass();
  93. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  94. $strongarm->api_version = 1;
  95. $strongarm->name = 'nodeformscols_field_placements_page_default';
  96. $strongarm->value = array(
  97. 'title' => array(
  98. 'region' => 'main',
  99. 'weight' => '0',
  100. 'has_required' => TRUE,
  101. 'title' => 'Title',
  102. ),
  103. 'additional_settings' => array(
  104. 'region' => 'main',
  105. 'weight' => '2',
  106. 'has_required' => FALSE,
  107. 'title' => 'Vertical tabs',
  108. 'hidden' => 0,
  109. ),
  110. 'actions' => array(
  111. 'region' => 'right',
  112. 'weight' => '1',
  113. 'has_required' => FALSE,
  114. 'title' => 'Enregistrer',
  115. 'hidden' => 0,
  116. ),
  117. 'body' => array(
  118. 'region' => 'main',
  119. 'weight' => '1',
  120. 'has_required' => FALSE,
  121. 'title' => 'Body',
  122. 'hidden' => 0,
  123. ),
  124. 'entity_translation_entity_form_language_update' => array(
  125. 'region' => 'main',
  126. 'weight' => '3',
  127. 'has_required' => FALSE,
  128. 'title' => NULL,
  129. 'hidden' => 0,
  130. ),
  131. 'workflow' => array(
  132. 'region' => 'right',
  133. 'weight' => '0',
  134. 'has_required' => FALSE,
  135. 'title' => 'Masqué',
  136. 'hidden' => 0,
  137. ),
  138. );
  139. $export['nodeformscols_field_placements_page_default'] = $strongarm;
  140. $strongarm = new stdClass();
  141. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  142. $strongarm->api_version = 1;
  143. $strongarm->name = 'node_options_page';
  144. $strongarm->value = array(
  145. 0 => 'status',
  146. );
  147. $export['node_options_page'] = $strongarm;
  148. $strongarm = new stdClass();
  149. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  150. $strongarm->api_version = 1;
  151. $strongarm->name = 'node_preview_page';
  152. $strongarm->value = '1';
  153. $export['node_preview_page'] = $strongarm;
  154. $strongarm = new stdClass();
  155. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  156. $strongarm->api_version = 1;
  157. $strongarm->name = 'node_submitted_page';
  158. $strongarm->value = 0;
  159. $export['node_submitted_page'] = $strongarm;
  160. $strongarm = new stdClass();
  161. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  162. $strongarm->api_version = 1;
  163. $strongarm->name = 'page_cache_maximum_age';
  164. $strongarm->value = '0';
  165. $export['page_cache_maximum_age'] = $strongarm;
  166. $strongarm = new stdClass();
  167. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  168. $strongarm->api_version = 1;
  169. $strongarm->name = 'pathauto_node_page_pattern';
  170. $strongarm->value = '';
  171. $export['pathauto_node_page_pattern'] = $strongarm;
  172. $strongarm = new stdClass();
  173. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  174. $strongarm->api_version = 1;
  175. $strongarm->name = 'workflow_page';
  176. $strongarm->value = array(
  177. 0 => 'node',
  178. );
  179. $export['workflow_page'] = $strongarm;
  180. return $export;
  181. }