chapitre.strongarm.inc 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301
  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-workflow';
  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. 'teaser' => array(
  102. 'custom_settings' => TRUE,
  103. ),
  104. 'full' => array(
  105. 'custom_settings' => FALSE,
  106. ),
  107. 'rss' => array(
  108. 'custom_settings' => FALSE,
  109. ),
  110. 'token' => array(
  111. 'custom_settings' => FALSE,
  112. ),
  113. 'chapter' => array(
  114. 'custom_settings' => TRUE,
  115. ),
  116. ),
  117. 'extra_fields' => array(
  118. 'form' => array(
  119. 'title' => array(
  120. 'weight' => '0',
  121. ),
  122. 'path' => array(
  123. 'weight' => '5',
  124. ),
  125. 'redirect' => array(
  126. 'weight' => '4',
  127. ),
  128. 'workflow' => array(
  129. 'weight' => '99',
  130. ),
  131. ),
  132. 'display' => array(
  133. 'workflow_current_state' => array(
  134. 'default' => array(
  135. 'weight' => '7',
  136. 'visible' => FALSE,
  137. ),
  138. 'teaser' => array(
  139. 'weight' => '4',
  140. 'visible' => FALSE,
  141. ),
  142. 'chapter' => array(
  143. 'weight' => '6',
  144. 'visible' => FALSE,
  145. ),
  146. ),
  147. 'workflow' => array(
  148. 'default' => array(
  149. 'weight' => '6',
  150. 'visible' => FALSE,
  151. ),
  152. 'teaser' => array(
  153. 'weight' => '7',
  154. 'visible' => FALSE,
  155. ),
  156. 'chapter' => array(
  157. 'weight' => '7',
  158. 'visible' => FALSE,
  159. ),
  160. ),
  161. ),
  162. ),
  163. );
  164. $export['field_bundle_settings_node__chapitre'] = $strongarm;
  165. $strongarm = new stdClass();
  166. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  167. $strongarm->api_version = 1;
  168. $strongarm->name = 'language_content_type_chapitre';
  169. $strongarm->value = '0';
  170. $export['language_content_type_chapitre'] = $strongarm;
  171. $strongarm = new stdClass();
  172. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  173. $strongarm->api_version = 1;
  174. $strongarm->name = 'menu_options_chapitre';
  175. $strongarm->value = array();
  176. $export['menu_options_chapitre'] = $strongarm;
  177. $strongarm = new stdClass();
  178. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  179. $strongarm->api_version = 1;
  180. $strongarm->name = 'menu_parent_chapitre';
  181. $strongarm->value = 'main-menu:0';
  182. $export['menu_parent_chapitre'] = $strongarm;
  183. $strongarm = new stdClass();
  184. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  185. $strongarm->api_version = 1;
  186. $strongarm->name = 'nodeformscols_field_placements_chapitre_default';
  187. $strongarm->value = array(
  188. 'title' => array(
  189. 'region' => 'main',
  190. 'weight' => '0',
  191. 'has_required' => TRUE,
  192. 'title' => 'Titre',
  193. ),
  194. 'additional_settings' => array(
  195. 'region' => 'main',
  196. 'weight' => '3',
  197. 'has_required' => FALSE,
  198. 'title' => 'Vertical tabs',
  199. 'hidden' => 0,
  200. ),
  201. 'actions' => array(
  202. 'region' => 'right',
  203. 'weight' => '1',
  204. 'has_required' => FALSE,
  205. 'title' => 'Enregistrer',
  206. 'hidden' => 0,
  207. ),
  208. 'body' => array(
  209. 'region' => 'main',
  210. 'weight' => '1',
  211. 'has_required' => FALSE,
  212. 'title' => 'Body',
  213. 'hidden' => 0,
  214. ),
  215. 'field_partie' => array(
  216. 'region' => 'main',
  217. 'weight' => '2',
  218. 'has_required' => FALSE,
  219. 'title' => 'Partie',
  220. 'hidden' => 0,
  221. ),
  222. 'workflow' => array(
  223. 'region' => 'right',
  224. 'weight' => '0',
  225. 'has_required' => FALSE,
  226. 'title' => 'Masqué',
  227. 'hidden' => 0,
  228. ),
  229. );
  230. $export['nodeformscols_field_placements_chapitre_default'] = $strongarm;
  231. $strongarm = new stdClass();
  232. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  233. $strongarm->api_version = 1;
  234. $strongarm->name = 'node_options_chapitre';
  235. $strongarm->value = array(
  236. 0 => 'status',
  237. );
  238. $export['node_options_chapitre'] = $strongarm;
  239. $strongarm = new stdClass();
  240. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  241. $strongarm->api_version = 1;
  242. $strongarm->name = 'node_preview_chapitre';
  243. $strongarm->value = '1';
  244. $export['node_preview_chapitre'] = $strongarm;
  245. $strongarm = new stdClass();
  246. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  247. $strongarm->api_version = 1;
  248. $strongarm->name = 'node_submitted_chapitre';
  249. $strongarm->value = 0;
  250. $export['node_submitted_chapitre'] = $strongarm;
  251. $strongarm = new stdClass();
  252. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  253. $strongarm->api_version = 1;
  254. $strongarm->name = 'pathauto_node_chapitre_pattern';
  255. $strongarm->value = '[node:title]';
  256. $export['pathauto_node_chapitre_pattern'] = $strongarm;
  257. $strongarm = new stdClass();
  258. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  259. $strongarm->api_version = 1;
  260. $strongarm->name = 'save_continue_chapitre';
  261. $strongarm->value = 'Enregistrer et ajouter les champs';
  262. $export['save_continue_chapitre'] = $strongarm;
  263. $strongarm = new stdClass();
  264. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  265. $strongarm->api_version = 1;
  266. $strongarm->name = 'user_permissions_chapitre';
  267. $strongarm->value = array(
  268. 0 => 'create_roles',
  269. 1 => 'edit_roles',
  270. 2 => 'delete_roles',
  271. );
  272. $export['user_permissions_chapitre'] = $strongarm;
  273. return $export;
  274. }