chapitre.strongarm.inc 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  1. <?php
  2. /**
  3. * @file
  4. * chapitre.strongarm.inc
  5. */
  6. /**
  7. * Implements hook_strongarm().
  8. */
  9. function chapitre_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_chapitre';
  15. $strongarm->value = 'edit-extras';
  16. $export['additional_settings__active_tab_chapitre'] = $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 = 'ant_chapitre';
  21. $strongarm->value = '0';
  22. $export['ant_chapitre'] = $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 = 'ant_pattern_chapitre';
  27. $strongarm->value = '';
  28. $export['ant_pattern_chapitre'] = $strongarm;
  29. $strongarm = new stdClass();
  30. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  31. $strongarm->api_version = 1;
  32. $strongarm->name = 'ant_php_chapitre';
  33. $strongarm->value = 0;
  34. $export['ant_php_chapitre'] = $strongarm;
  35. $strongarm = new stdClass();
  36. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  37. $strongarm->api_version = 1;
  38. $strongarm->name = 'content_type_extras_cancel_chapitre';
  39. $strongarm->value = '1';
  40. $export['content_type_extras_cancel_chapitre'] = $strongarm;
  41. $strongarm = new stdClass();
  42. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  43. $strongarm->api_version = 1;
  44. $strongarm->name = 'content_type_extras_preview_button_chapitre';
  45. $strongarm->value = 'Aperçu';
  46. $export['content_type_extras_preview_button_chapitre'] = $strongarm;
  47. $strongarm = new stdClass();
  48. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  49. $strongarm->api_version = 1;
  50. $strongarm->name = 'content_type_extras_save_and_edit_button_chapitre';
  51. $strongarm->value = 'Save and Edit';
  52. $export['content_type_extras_save_and_edit_button_chapitre'] = $strongarm;
  53. $strongarm = new stdClass();
  54. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  55. $strongarm->api_version = 1;
  56. $strongarm->name = 'content_type_extras_save_and_edit_chapitre';
  57. $strongarm->value = '1';
  58. $export['content_type_extras_save_and_edit_chapitre'] = $strongarm;
  59. $strongarm = new stdClass();
  60. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  61. $strongarm->api_version = 1;
  62. $strongarm->name = 'content_type_extras_save_and_new_button_chapitre';
  63. $strongarm->value = 'Save and New';
  64. $export['content_type_extras_save_and_new_button_chapitre'] = $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 = 'content_type_extras_save_and_new_chapitre';
  69. $strongarm->value = '0';
  70. $export['content_type_extras_save_and_new_chapitre'] = $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 = 'content_type_extras_title_hide_chapitre';
  75. $strongarm->value = 0;
  76. $export['content_type_extras_title_hide_chapitre'] = $strongarm;
  77. $strongarm = new stdClass();
  78. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  79. $strongarm->api_version = 1;
  80. $strongarm->name = 'date_popup_authored_enabled_chapitre';
  81. $strongarm->value = 0;
  82. $export['date_popup_authored_enabled_chapitre'] = $strongarm;
  83. $strongarm = new stdClass();
  84. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  85. $strongarm->api_version = 1;
  86. $strongarm->name = 'date_popup_authored_format_chapitre';
  87. $strongarm->value = 'm/d/Y - H:i';
  88. $export['date_popup_authored_format_chapitre'] = $strongarm;
  89. $strongarm = new stdClass();
  90. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  91. $strongarm->api_version = 1;
  92. $strongarm->name = 'date_popup_authored_year_range_chapitre';
  93. $strongarm->value = '3';
  94. $export['date_popup_authored_year_range_chapitre'] = $strongarm;
  95. $strongarm = new stdClass();
  96. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  97. $strongarm->api_version = 1;
  98. $strongarm->name = 'field_bundle_settings_node__chapitre';
  99. $strongarm->value = array(
  100. 'view_modes' => array(),
  101. 'extra_fields' => array(
  102. 'form' => array(
  103. 'title' => array(
  104. 'weight' => '0',
  105. ),
  106. 'path' => array(
  107. 'weight' => '5',
  108. ),
  109. 'redirect' => array(
  110. 'weight' => '4',
  111. ),
  112. 'workflow' => array(
  113. 'weight' => '99',
  114. ),
  115. ),
  116. 'display' => array(),
  117. ),
  118. );
  119. $export['field_bundle_settings_node__chapitre'] = $strongarm;
  120. $strongarm = new stdClass();
  121. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  122. $strongarm->api_version = 1;
  123. $strongarm->name = 'language_content_type_chapitre';
  124. $strongarm->value = '0';
  125. $export['language_content_type_chapitre'] = $strongarm;
  126. $strongarm = new stdClass();
  127. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  128. $strongarm->api_version = 1;
  129. $strongarm->name = 'menu_options_chapitre';
  130. $strongarm->value = array();
  131. $export['menu_options_chapitre'] = $strongarm;
  132. $strongarm = new stdClass();
  133. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  134. $strongarm->api_version = 1;
  135. $strongarm->name = 'menu_parent_chapitre';
  136. $strongarm->value = 'main-menu:0';
  137. $export['menu_parent_chapitre'] = $strongarm;
  138. $strongarm = new stdClass();
  139. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  140. $strongarm->api_version = 1;
  141. $strongarm->name = 'nodeformscols_field_placements_chapitre_default';
  142. $strongarm->value = array(
  143. 'title' => array(
  144. 'region' => 'main',
  145. 'weight' => '0',
  146. 'has_required' => TRUE,
  147. 'title' => 'Titre',
  148. ),
  149. 'additional_settings' => array(
  150. 'region' => 'main',
  151. 'weight' => '3',
  152. 'has_required' => FALSE,
  153. 'title' => 'Vertical tabs',
  154. 'hidden' => 0,
  155. ),
  156. 'actions' => array(
  157. 'region' => 'right',
  158. 'weight' => '1',
  159. 'has_required' => FALSE,
  160. 'title' => 'Enregistrer',
  161. 'hidden' => 0,
  162. ),
  163. 'body' => array(
  164. 'region' => 'main',
  165. 'weight' => '1',
  166. 'has_required' => FALSE,
  167. 'title' => 'Body',
  168. 'hidden' => 0,
  169. ),
  170. 'field_partie' => array(
  171. 'region' => 'main',
  172. 'weight' => '2',
  173. 'has_required' => FALSE,
  174. 'title' => 'Partie',
  175. 'hidden' => 0,
  176. ),
  177. 'workflow' => array(
  178. 'region' => 'right',
  179. 'weight' => '0',
  180. 'has_required' => FALSE,
  181. 'title' => 'Masqué',
  182. 'hidden' => 0,
  183. ),
  184. );
  185. $export['nodeformscols_field_placements_chapitre_default'] = $strongarm;
  186. $strongarm = new stdClass();
  187. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  188. $strongarm->api_version = 1;
  189. $strongarm->name = 'node_options_chapitre';
  190. $strongarm->value = array(
  191. 0 => 'status',
  192. );
  193. $export['node_options_chapitre'] = $strongarm;
  194. $strongarm = new stdClass();
  195. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  196. $strongarm->api_version = 1;
  197. $strongarm->name = 'node_preview_chapitre';
  198. $strongarm->value = '1';
  199. $export['node_preview_chapitre'] = $strongarm;
  200. $strongarm = new stdClass();
  201. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  202. $strongarm->api_version = 1;
  203. $strongarm->name = 'node_submitted_chapitre';
  204. $strongarm->value = 0;
  205. $export['node_submitted_chapitre'] = $strongarm;
  206. $strongarm = new stdClass();
  207. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  208. $strongarm->api_version = 1;
  209. $strongarm->name = 'pathauto_node_chapitre_pattern';
  210. $strongarm->value = '[node:title]';
  211. $export['pathauto_node_chapitre_pattern'] = $strongarm;
  212. $strongarm = new stdClass();
  213. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  214. $strongarm->api_version = 1;
  215. $strongarm->name = 'save_continue_chapitre';
  216. $strongarm->value = 'Enregistrer et ajouter les champs';
  217. $export['save_continue_chapitre'] = $strongarm;
  218. $strongarm = new stdClass();
  219. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  220. $strongarm->api_version = 1;
  221. $strongarm->name = 'user_permissions_chapitre';
  222. $strongarm->value = array(
  223. 0 => 'create_roles',
  224. 1 => 'edit_roles',
  225. 2 => 'delete_roles',
  226. );
  227. $export['user_permissions_chapitre'] = $strongarm;
  228. return $export;
  229. }