materio_publications.strongarm.inc 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380
  1. <?php
  2. /**
  3. * @file
  4. * materio_publications.strongarm.inc
  5. */
  6. /**
  7. * Implements hook_strongarm().
  8. */
  9. function materio_publications_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_publication';
  15. $strongarm->value = 'edit-print';
  16. $export['additional_settings__active_tab_publication'] = $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_pattern_publication';
  21. $strongarm->value = '';
  22. $export['ant_pattern_publication'] = $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_php_publication';
  27. $strongarm->value = 0;
  28. $export['ant_php_publication'] = $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_publication';
  33. $strongarm->value = '0';
  34. $export['ant_publication'] = $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 = 'date_popup_authored_enabled_publication';
  39. $strongarm->value = 1;
  40. $export['date_popup_authored_enabled_publication'] = $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 = 'date_popup_authored_format_publication';
  45. $strongarm->value = 'm/d/Y - H:i';
  46. $export['date_popup_authored_format_publication'] = $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 = 'date_popup_authored_year_range_publication';
  51. $strongarm->value = '3';
  52. $export['date_popup_authored_year_range_publication'] = $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 = 'diff_enable_revisions_page_node_publication';
  57. $strongarm->value = 1;
  58. $export['diff_enable_revisions_page_node_publication'] = $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 = 'diff_show_preview_changes_node_publication';
  63. $strongarm->value = 1;
  64. $export['diff_show_preview_changes_node_publication'] = $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 = 'diff_view_mode_preview_node_publication';
  69. $strongarm->value = 'full';
  70. $export['diff_view_mode_preview_node_publication'] = $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 = 'entity_translation_hide_translation_links_publication';
  75. $strongarm->value = 1;
  76. $export['entity_translation_hide_translation_links_publication'] = $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 = 'entity_translation_node_metadata_publication';
  81. $strongarm->value = '0';
  82. $export['entity_translation_node_metadata_publication'] = $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 = 'field_bundle_settings_node__publication';
  87. $strongarm->value = array(
  88. 'view_modes' => array(
  89. 'teaser' => array(
  90. 'custom_settings' => TRUE,
  91. ),
  92. 'bookmark' => array(
  93. 'custom_settings' => TRUE,
  94. ),
  95. 'cardsmall' => array(
  96. 'custom_settings' => TRUE,
  97. ),
  98. 'cardmedium' => array(
  99. 'custom_settings' => TRUE,
  100. ),
  101. 'cardbig' => array(
  102. 'custom_settings' => TRUE,
  103. ),
  104. 'cardfull' => array(
  105. 'custom_settings' => TRUE,
  106. ),
  107. 'full' => array(
  108. 'custom_settings' => FALSE,
  109. ),
  110. 'rss' => array(
  111. 'custom_settings' => FALSE,
  112. ),
  113. 'diff_standard' => array(
  114. 'custom_settings' => FALSE,
  115. ),
  116. 'print' => array(
  117. 'custom_settings' => FALSE,
  118. ),
  119. 'email_plain' => array(
  120. 'custom_settings' => FALSE,
  121. ),
  122. 'email_html' => array(
  123. 'custom_settings' => FALSE,
  124. ),
  125. 'email_textalt' => array(
  126. 'custom_settings' => FALSE,
  127. ),
  128. 'token' => array(
  129. 'custom_settings' => FALSE,
  130. ),
  131. ),
  132. 'extra_fields' => array(
  133. 'form' => array(
  134. 'metatags' => array(
  135. 'weight' => '6',
  136. ),
  137. 'path' => array(
  138. 'weight' => '5',
  139. ),
  140. 'redirect' => array(
  141. 'weight' => '4',
  142. ),
  143. 'workflow' => array(
  144. 'weight' => '7',
  145. ),
  146. 'language' => array(
  147. 'weight' => '3',
  148. ),
  149. 'title' => array(
  150. 'weight' => '-5',
  151. ),
  152. ),
  153. 'display' => array(
  154. 'workflow_current_state' => array(
  155. 'default' => array(
  156. 'weight' => '3',
  157. 'visible' => FALSE,
  158. ),
  159. 'homeblock' => array(
  160. 'weight' => '1',
  161. 'visible' => FALSE,
  162. ),
  163. ),
  164. 'workflow' => array(
  165. 'default' => array(
  166. 'weight' => '4',
  167. 'visible' => FALSE,
  168. ),
  169. 'homeblock' => array(
  170. 'weight' => '2',
  171. 'visible' => FALSE,
  172. ),
  173. ),
  174. ),
  175. ),
  176. );
  177. $export['field_bundle_settings_node__publication'] = $strongarm;
  178. $strongarm = new stdClass();
  179. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  180. $strongarm->api_version = 1;
  181. $strongarm->name = 'language_content_type_publication';
  182. $strongarm->value = '4';
  183. $export['language_content_type_publication'] = $strongarm;
  184. $strongarm = new stdClass();
  185. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  186. $strongarm->api_version = 1;
  187. $strongarm->name = 'menu_options_publication';
  188. $strongarm->value = array();
  189. $export['menu_options_publication'] = $strongarm;
  190. $strongarm = new stdClass();
  191. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  192. $strongarm->api_version = 1;
  193. $strongarm->name = 'menu_parent_publication';
  194. $strongarm->value = 'main-menu:0';
  195. $export['menu_parent_publication'] = $strongarm;
  196. $strongarm = new stdClass();
  197. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  198. $strongarm->api_version = 1;
  199. $strongarm->name = 'nodeformscols_field_placements_publication_default';
  200. $strongarm->value = array(
  201. 'title' => array(
  202. 'region' => 'main',
  203. 'weight' => '0',
  204. 'has_required' => TRUE,
  205. 'title' => 'Titre',
  206. ),
  207. 'additional_settings' => array(
  208. 'region' => 'main',
  209. 'weight' => '4',
  210. 'has_required' => FALSE,
  211. 'title' => 'Vertical tabs',
  212. 'hidden' => 0,
  213. ),
  214. 'actions' => array(
  215. 'region' => 'right',
  216. 'weight' => '4',
  217. 'has_required' => FALSE,
  218. 'title' => 'Enregistrer',
  219. 'hidden' => 0,
  220. ),
  221. 'entity_translation_entity_form_language_update' => array(
  222. 'region' => 'right',
  223. 'weight' => '3',
  224. 'has_required' => FALSE,
  225. 'title' => NULL,
  226. 'hidden' => 0,
  227. ),
  228. 'language' => array(
  229. 'region' => 'right',
  230. 'weight' => '0',
  231. 'has_required' => FALSE,
  232. 'title' => 'Langue',
  233. 'hidden' => 0,
  234. ),
  235. 'body' => array(
  236. 'region' => 'main',
  237. 'weight' => '3',
  238. 'has_required' => FALSE,
  239. 'title' => 'Body',
  240. 'hidden' => 0,
  241. ),
  242. 'field_couverture' => array(
  243. 'region' => 'main',
  244. 'weight' => '2',
  245. 'has_required' => FALSE,
  246. 'title' => 'Couverture',
  247. 'hidden' => 0,
  248. ),
  249. 'workflow' => array(
  250. 'region' => 'right',
  251. 'weight' => '2',
  252. 'has_required' => FALSE,
  253. 'title' => 'Importé',
  254. 'hidden' => 0,
  255. ),
  256. 'field_weight' => array(
  257. 'region' => 'right',
  258. 'weight' => '1',
  259. 'has_required' => FALSE,
  260. 'title' => 'weight',
  261. 'hidden' => 0,
  262. ),
  263. );
  264. $export['nodeformscols_field_placements_publication_default'] = $strongarm;
  265. $strongarm = new stdClass();
  266. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  267. $strongarm->api_version = 1;
  268. $strongarm->name = 'node_options_publication';
  269. $strongarm->value = array(
  270. 0 => 'status',
  271. );
  272. $export['node_options_publication'] = $strongarm;
  273. $strongarm = new stdClass();
  274. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  275. $strongarm->api_version = 1;
  276. $strongarm->name = 'node_preview_publication';
  277. $strongarm->value = '0';
  278. $export['node_preview_publication'] = $strongarm;
  279. $strongarm = new stdClass();
  280. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  281. $strongarm->api_version = 1;
  282. $strongarm->name = 'node_submitted_publication';
  283. $strongarm->value = 0;
  284. $export['node_submitted_publication'] = $strongarm;
  285. $strongarm = new stdClass();
  286. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  287. $strongarm->api_version = 1;
  288. $strongarm->name = 'print_html_display_comment_publication';
  289. $strongarm->value = 0;
  290. $export['print_html_display_comment_publication'] = $strongarm;
  291. $strongarm = new stdClass();
  292. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  293. $strongarm->api_version = 1;
  294. $strongarm->name = 'print_html_display_publication';
  295. $strongarm->value = 0;
  296. $export['print_html_display_publication'] = $strongarm;
  297. $strongarm = new stdClass();
  298. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  299. $strongarm->api_version = 1;
  300. $strongarm->name = 'print_html_display_urllist_publication';
  301. $strongarm->value = 0;
  302. $export['print_html_display_urllist_publication'] = $strongarm;
  303. $strongarm = new stdClass();
  304. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  305. $strongarm->api_version = 1;
  306. $strongarm->name = 'save_continue_publication';
  307. $strongarm->value = 'Enregistrer et ajouter les champs';
  308. $export['save_continue_publication'] = $strongarm;
  309. $strongarm = new stdClass();
  310. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  311. $strongarm->api_version = 1;
  312. $strongarm->name = 'simplenews_content_type_publication';
  313. $strongarm->value = 0;
  314. $export['simplenews_content_type_publication'] = $strongarm;
  315. $strongarm = new stdClass();
  316. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  317. $strongarm->api_version = 1;
  318. $strongarm->name = 'unique_field_comp_publication';
  319. $strongarm->value = 'each';
  320. $export['unique_field_comp_publication'] = $strongarm;
  321. $strongarm = new stdClass();
  322. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  323. $strongarm->api_version = 1;
  324. $strongarm->name = 'unique_field_fields_publication';
  325. $strongarm->value = array();
  326. $export['unique_field_fields_publication'] = $strongarm;
  327. $strongarm = new stdClass();
  328. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  329. $strongarm->api_version = 1;
  330. $strongarm->name = 'unique_field_scope_publication';
  331. $strongarm->value = 'type';
  332. $export['unique_field_scope_publication'] = $strongarm;
  333. $strongarm = new stdClass();
  334. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  335. $strongarm->api_version = 1;
  336. $strongarm->name = 'unique_field_show_matches_publication';
  337. $strongarm->value = array();
  338. $export['unique_field_show_matches_publication'] = $strongarm;
  339. $strongarm = new stdClass();
  340. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  341. $strongarm->api_version = 1;
  342. $strongarm->name = 'workflow_publication';
  343. $strongarm->value = array(
  344. 0 => 'node',
  345. );
  346. $export['workflow_publication'] = $strongarm;
  347. return $export;
  348. }