materio_publications.strongarm.inc 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383
  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. 'homeblock' => array(
  132. 'custom_settings' => TRUE,
  133. ),
  134. ),
  135. 'extra_fields' => array(
  136. 'form' => array(
  137. 'metatags' => array(
  138. 'weight' => '6',
  139. ),
  140. 'path' => array(
  141. 'weight' => '5',
  142. ),
  143. 'redirect' => array(
  144. 'weight' => '4',
  145. ),
  146. 'workflow' => array(
  147. 'weight' => '7',
  148. ),
  149. 'language' => array(
  150. 'weight' => '3',
  151. ),
  152. 'title' => array(
  153. 'weight' => '-5',
  154. ),
  155. ),
  156. 'display' => array(
  157. 'workflow_current_state' => array(
  158. 'default' => array(
  159. 'weight' => '3',
  160. 'visible' => FALSE,
  161. ),
  162. 'homeblock' => array(
  163. 'weight' => '1',
  164. 'visible' => FALSE,
  165. ),
  166. ),
  167. 'workflow' => array(
  168. 'default' => array(
  169. 'weight' => '4',
  170. 'visible' => FALSE,
  171. ),
  172. 'homeblock' => array(
  173. 'weight' => '2',
  174. 'visible' => FALSE,
  175. ),
  176. ),
  177. ),
  178. ),
  179. );
  180. $export['field_bundle_settings_node__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 = 'language_content_type_publication';
  185. $strongarm->value = '4';
  186. $export['language_content_type_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_options_publication';
  191. $strongarm->value = array();
  192. $export['menu_options_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 = 'menu_parent_publication';
  197. $strongarm->value = 'main-menu:0';
  198. $export['menu_parent_publication'] = $strongarm;
  199. $strongarm = new stdClass();
  200. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  201. $strongarm->api_version = 1;
  202. $strongarm->name = 'nodeformscols_field_placements_publication_default';
  203. $strongarm->value = array(
  204. 'title' => array(
  205. 'region' => 'main',
  206. 'weight' => '0',
  207. 'has_required' => TRUE,
  208. 'title' => 'Titre',
  209. ),
  210. 'additional_settings' => array(
  211. 'region' => 'main',
  212. 'weight' => '4',
  213. 'has_required' => FALSE,
  214. 'title' => 'Vertical tabs',
  215. 'hidden' => 0,
  216. ),
  217. 'actions' => array(
  218. 'region' => 'right',
  219. 'weight' => '4',
  220. 'has_required' => FALSE,
  221. 'title' => 'Enregistrer',
  222. 'hidden' => 0,
  223. ),
  224. 'entity_translation_entity_form_language_update' => array(
  225. 'region' => 'right',
  226. 'weight' => '3',
  227. 'has_required' => FALSE,
  228. 'title' => NULL,
  229. 'hidden' => 0,
  230. ),
  231. 'language' => array(
  232. 'region' => 'right',
  233. 'weight' => '0',
  234. 'has_required' => FALSE,
  235. 'title' => 'Langue',
  236. 'hidden' => 0,
  237. ),
  238. 'body' => array(
  239. 'region' => 'main',
  240. 'weight' => '3',
  241. 'has_required' => FALSE,
  242. 'title' => 'Body',
  243. 'hidden' => 0,
  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' => '2',
  255. 'has_required' => FALSE,
  256. 'title' => 'Importé',
  257. 'hidden' => 0,
  258. ),
  259. 'field_weight' => array(
  260. 'region' => 'right',
  261. 'weight' => '1',
  262. 'has_required' => FALSE,
  263. 'title' => 'weight',
  264. 'hidden' => 0,
  265. ),
  266. );
  267. $export['nodeformscols_field_placements_publication_default'] = $strongarm;
  268. $strongarm = new stdClass();
  269. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  270. $strongarm->api_version = 1;
  271. $strongarm->name = 'node_options_publication';
  272. $strongarm->value = array(
  273. 0 => 'status',
  274. );
  275. $export['node_options_publication'] = $strongarm;
  276. $strongarm = new stdClass();
  277. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  278. $strongarm->api_version = 1;
  279. $strongarm->name = 'node_preview_publication';
  280. $strongarm->value = '0';
  281. $export['node_preview_publication'] = $strongarm;
  282. $strongarm = new stdClass();
  283. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  284. $strongarm->api_version = 1;
  285. $strongarm->name = 'node_submitted_publication';
  286. $strongarm->value = 0;
  287. $export['node_submitted_publication'] = $strongarm;
  288. $strongarm = new stdClass();
  289. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  290. $strongarm->api_version = 1;
  291. $strongarm->name = 'print_html_display_comment_publication';
  292. $strongarm->value = 0;
  293. $export['print_html_display_comment_publication'] = $strongarm;
  294. $strongarm = new stdClass();
  295. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  296. $strongarm->api_version = 1;
  297. $strongarm->name = 'print_html_display_publication';
  298. $strongarm->value = 0;
  299. $export['print_html_display_publication'] = $strongarm;
  300. $strongarm = new stdClass();
  301. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  302. $strongarm->api_version = 1;
  303. $strongarm->name = 'print_html_display_urllist_publication';
  304. $strongarm->value = 0;
  305. $export['print_html_display_urllist_publication'] = $strongarm;
  306. $strongarm = new stdClass();
  307. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  308. $strongarm->api_version = 1;
  309. $strongarm->name = 'save_continue_publication';
  310. $strongarm->value = 'Enregistrer et ajouter les champs';
  311. $export['save_continue_publication'] = $strongarm;
  312. $strongarm = new stdClass();
  313. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  314. $strongarm->api_version = 1;
  315. $strongarm->name = 'simplenews_content_type_publication';
  316. $strongarm->value = 0;
  317. $export['simplenews_content_type_publication'] = $strongarm;
  318. $strongarm = new stdClass();
  319. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  320. $strongarm->api_version = 1;
  321. $strongarm->name = 'unique_field_comp_publication';
  322. $strongarm->value = 'each';
  323. $export['unique_field_comp_publication'] = $strongarm;
  324. $strongarm = new stdClass();
  325. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  326. $strongarm->api_version = 1;
  327. $strongarm->name = 'unique_field_fields_publication';
  328. $strongarm->value = array();
  329. $export['unique_field_fields_publication'] = $strongarm;
  330. $strongarm = new stdClass();
  331. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  332. $strongarm->api_version = 1;
  333. $strongarm->name = 'unique_field_scope_publication';
  334. $strongarm->value = 'type';
  335. $export['unique_field_scope_publication'] = $strongarm;
  336. $strongarm = new stdClass();
  337. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  338. $strongarm->api_version = 1;
  339. $strongarm->name = 'unique_field_show_matches_publication';
  340. $strongarm->value = array();
  341. $export['unique_field_show_matches_publication'] = $strongarm;
  342. $strongarm = new stdClass();
  343. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  344. $strongarm->api_version = 1;
  345. $strongarm->name = 'workflow_publication';
  346. $strongarm->value = array(
  347. 0 => 'node',
  348. );
  349. $export['workflow_publication'] = $strongarm;
  350. return $export;
  351. }