materio_publications.strongarm.inc 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376
  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-submission';
  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 = 0;
  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. ),
  150. 'display' => array(
  151. 'workflow_current_state' => array(
  152. 'default' => array(
  153. 'weight' => '3',
  154. 'visible' => FALSE,
  155. ),
  156. 'homeblock' => array(
  157. 'weight' => '1',
  158. 'visible' => FALSE,
  159. ),
  160. ),
  161. 'workflow' => array(
  162. 'default' => array(
  163. 'weight' => '4',
  164. 'visible' => FALSE,
  165. ),
  166. 'homeblock' => array(
  167. 'weight' => '2',
  168. 'visible' => FALSE,
  169. ),
  170. ),
  171. ),
  172. ),
  173. );
  174. $export['field_bundle_settings_node__publication'] = $strongarm;
  175. $strongarm = new stdClass();
  176. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  177. $strongarm->api_version = 1;
  178. $strongarm->name = 'language_content_type_publication';
  179. $strongarm->value = '4';
  180. $export['language_content_type_publication'] = $strongarm;
  181. $strongarm = new stdClass();
  182. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  183. $strongarm->api_version = 1;
  184. $strongarm->name = 'menu_options_publication';
  185. $strongarm->value = array();
  186. $export['menu_options_publication'] = $strongarm;
  187. $strongarm = new stdClass();
  188. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  189. $strongarm->api_version = 1;
  190. $strongarm->name = 'menu_parent_publication';
  191. $strongarm->value = 'main-menu:0';
  192. $export['menu_parent_publication'] = $strongarm;
  193. $strongarm = new stdClass();
  194. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  195. $strongarm->api_version = 1;
  196. $strongarm->name = 'nodeformscols_field_placements_publication_default';
  197. $strongarm->value = array(
  198. 'title' => array(
  199. 'region' => 'main',
  200. 'weight' => '0',
  201. 'has_required' => TRUE,
  202. 'title' => 'Titre',
  203. ),
  204. 'additional_settings' => array(
  205. 'region' => 'main',
  206. 'weight' => '4',
  207. 'has_required' => FALSE,
  208. 'title' => 'Vertical tabs',
  209. 'hidden' => 0,
  210. ),
  211. 'actions' => array(
  212. 'region' => 'right',
  213. 'weight' => '3',
  214. 'has_required' => FALSE,
  215. 'title' => 'Enregistrer',
  216. 'hidden' => 0,
  217. ),
  218. 'entity_translation_entity_form_language_update' => array(
  219. 'region' => 'right',
  220. 'weight' => '2',
  221. 'has_required' => FALSE,
  222. 'title' => NULL,
  223. 'hidden' => 0,
  224. ),
  225. 'language' => array(
  226. 'region' => 'right',
  227. 'weight' => '0',
  228. 'has_required' => FALSE,
  229. 'title' => 'Langue',
  230. 'hidden' => 0,
  231. ),
  232. 'body' => array(
  233. 'region' => 'main',
  234. 'weight' => '3',
  235. 'has_required' => FALSE,
  236. 'title' => 'Body',
  237. 'hidden' => 0,
  238. ),
  239. 'title_field' => array(
  240. 'region' => 'main',
  241. 'weight' => '1',
  242. 'has_required' => TRUE,
  243. 'title' => 'Titre',
  244. ),
  245. 'field_couverture' => array(
  246. 'region' => 'main',
  247. 'weight' => '2',
  248. 'has_required' => FALSE,
  249. 'title' => 'Couverture',
  250. 'hidden' => 0,
  251. ),
  252. 'workflow' => array(
  253. 'region' => 'right',
  254. 'weight' => '1',
  255. 'has_required' => FALSE,
  256. 'title' => 'Importé',
  257. 'hidden' => 0,
  258. ),
  259. );
  260. $export['nodeformscols_field_placements_publication_default'] = $strongarm;
  261. $strongarm = new stdClass();
  262. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  263. $strongarm->api_version = 1;
  264. $strongarm->name = 'node_options_publication';
  265. $strongarm->value = array(
  266. 0 => 'status',
  267. );
  268. $export['node_options_publication'] = $strongarm;
  269. $strongarm = new stdClass();
  270. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  271. $strongarm->api_version = 1;
  272. $strongarm->name = 'node_preview_publication';
  273. $strongarm->value = '0';
  274. $export['node_preview_publication'] = $strongarm;
  275. $strongarm = new stdClass();
  276. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  277. $strongarm->api_version = 1;
  278. $strongarm->name = 'node_submitted_publication';
  279. $strongarm->value = 0;
  280. $export['node_submitted_publication'] = $strongarm;
  281. $strongarm = new stdClass();
  282. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  283. $strongarm->api_version = 1;
  284. $strongarm->name = 'print_html_display_comment_publication';
  285. $strongarm->value = 0;
  286. $export['print_html_display_comment_publication'] = $strongarm;
  287. $strongarm = new stdClass();
  288. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  289. $strongarm->api_version = 1;
  290. $strongarm->name = 'print_html_display_publication';
  291. $strongarm->value = 0;
  292. $export['print_html_display_publication'] = $strongarm;
  293. $strongarm = new stdClass();
  294. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  295. $strongarm->api_version = 1;
  296. $strongarm->name = 'print_html_display_urllist_publication';
  297. $strongarm->value = 0;
  298. $export['print_html_display_urllist_publication'] = $strongarm;
  299. $strongarm = new stdClass();
  300. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  301. $strongarm->api_version = 1;
  302. $strongarm->name = 'save_continue_publication';
  303. $strongarm->value = 'Enregistrer et ajouter les champs';
  304. $export['save_continue_publication'] = $strongarm;
  305. $strongarm = new stdClass();
  306. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  307. $strongarm->api_version = 1;
  308. $strongarm->name = 'simplenews_content_type_publication';
  309. $strongarm->value = 0;
  310. $export['simplenews_content_type_publication'] = $strongarm;
  311. $strongarm = new stdClass();
  312. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  313. $strongarm->api_version = 1;
  314. $strongarm->name = 'unique_field_comp_publication';
  315. $strongarm->value = 'each';
  316. $export['unique_field_comp_publication'] = $strongarm;
  317. $strongarm = new stdClass();
  318. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  319. $strongarm->api_version = 1;
  320. $strongarm->name = 'unique_field_fields_publication';
  321. $strongarm->value = array();
  322. $export['unique_field_fields_publication'] = $strongarm;
  323. $strongarm = new stdClass();
  324. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  325. $strongarm->api_version = 1;
  326. $strongarm->name = 'unique_field_scope_publication';
  327. $strongarm->value = 'type';
  328. $export['unique_field_scope_publication'] = $strongarm;
  329. $strongarm = new stdClass();
  330. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  331. $strongarm->api_version = 1;
  332. $strongarm->name = 'unique_field_show_matches_publication';
  333. $strongarm->value = array();
  334. $export['unique_field_show_matches_publication'] = $strongarm;
  335. $strongarm = new stdClass();
  336. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  337. $strongarm->api_version = 1;
  338. $strongarm->name = 'workflow_publication';
  339. $strongarm->value = array(
  340. 0 => 'node',
  341. );
  342. $export['workflow_publication'] = $strongarm;
  343. return $export;
  344. }