chapitre.features.field_instance.inc 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317
  1. <?php
  2. /**
  3. * @file
  4. * chapitre.features.field_instance.inc
  5. */
  6. /**
  7. * Implements hook_field_default_field_instances().
  8. */
  9. function chapitre_field_default_field_instances() {
  10. $field_instances = array();
  11. // Exported field_instance: 'field_collection_item-field_partie-field_description'
  12. $field_instances['field_collection_item-field_partie-field_description'] = array(
  13. 'bundle' => 'field_partie',
  14. 'default_value' => NULL,
  15. 'deleted' => 0,
  16. 'description' => '',
  17. 'display' => array(
  18. 'default' => array(
  19. 'label' => 'above',
  20. 'module' => 'text',
  21. 'settings' => array(),
  22. 'type' => 'text_default',
  23. 'weight' => 1,
  24. ),
  25. ),
  26. 'entity_type' => 'field_collection_item',
  27. 'field_name' => 'field_description',
  28. 'label' => 'Description',
  29. 'required' => 0,
  30. 'settings' => array(
  31. 'linkit' => array(
  32. 'button_text' => 'Recherche',
  33. 'enable' => 0,
  34. 'profile' => '',
  35. ),
  36. 'text_processing' => 0,
  37. 'user_register_form' => FALSE,
  38. ),
  39. 'widget' => array(
  40. 'active' => 1,
  41. 'module' => 'text',
  42. 'settings' => array(
  43. 'size' => 60,
  44. ),
  45. 'type' => 'text_textfield',
  46. 'weight' => 32,
  47. ),
  48. );
  49. // Exported field_instance: 'field_collection_item-field_partie-field_nom'
  50. $field_instances['field_collection_item-field_partie-field_nom'] = array(
  51. 'bundle' => 'field_partie',
  52. 'default_value' => NULL,
  53. 'deleted' => 0,
  54. 'description' => '',
  55. 'display' => array(
  56. 'default' => array(
  57. 'label' => 'above',
  58. 'module' => 'text',
  59. 'settings' => array(),
  60. 'type' => 'text_default',
  61. 'weight' => 0,
  62. ),
  63. ),
  64. 'entity_type' => 'field_collection_item',
  65. 'field_name' => 'field_nom',
  66. 'label' => 'Nom',
  67. 'required' => 0,
  68. 'settings' => array(
  69. 'linkit' => array(
  70. 'button_text' => 'Recherche',
  71. 'enable' => 0,
  72. 'profile' => '',
  73. ),
  74. 'text_processing' => 0,
  75. 'user_register_form' => FALSE,
  76. ),
  77. 'widget' => array(
  78. 'active' => 1,
  79. 'module' => 'text',
  80. 'settings' => array(
  81. 'size' => 60,
  82. ),
  83. 'type' => 'text_textfield',
  84. 'weight' => 31,
  85. ),
  86. );
  87. // Exported field_instance: 'field_collection_item-field_partie-field_video'
  88. $field_instances['field_collection_item-field_partie-field_video'] = array(
  89. 'bundle' => 'field_partie',
  90. 'default_value' => NULL,
  91. 'deleted' => 0,
  92. 'description' => '',
  93. 'display' => array(
  94. 'default' => array(
  95. 'label' => 'above',
  96. 'module' => 'video_embed_field',
  97. 'settings' => array(
  98. 'description' => 1,
  99. 'description_position' => 'bottom',
  100. 'video_style' => 'normal',
  101. ),
  102. 'type' => 'video_embed_field',
  103. 'weight' => 2,
  104. ),
  105. ),
  106. 'entity_type' => 'field_collection_item',
  107. 'field_name' => 'field_video',
  108. 'label' => 'Video',
  109. 'required' => 0,
  110. 'settings' => array(
  111. 'description_field' => 0,
  112. 'description_length' => 128,
  113. 'user_register_form' => FALSE,
  114. ),
  115. 'widget' => array(
  116. 'active' => 0,
  117. 'module' => 'video_embed_field',
  118. 'settings' => array(),
  119. 'type' => 'video_embed_field_video',
  120. 'weight' => 33,
  121. ),
  122. );
  123. // Exported field_instance: 'node-chapitre-field_agir'
  124. $field_instances['node-chapitre-field_agir'] = array(
  125. 'bundle' => 'chapitre',
  126. 'default_value' => NULL,
  127. 'deleted' => 0,
  128. 'description' => '',
  129. 'display' => array(
  130. 'default' => array(
  131. 'label' => 'above',
  132. 'module' => 'text',
  133. 'settings' => array(),
  134. 'type' => 'text_default',
  135. 'weight' => 3,
  136. ),
  137. 'teaser' => array(
  138. 'label' => 'above',
  139. 'settings' => array(),
  140. 'type' => 'hidden',
  141. 'weight' => 0,
  142. ),
  143. ),
  144. 'entity_type' => 'node',
  145. 'field_name' => 'field_agir',
  146. 'label' => 'Agir',
  147. 'required' => 0,
  148. 'settings' => array(
  149. 'linkit' => array(
  150. 'button_text' => 'Recherche',
  151. 'enable' => 0,
  152. 'profile' => '',
  153. ),
  154. 'text_processing' => 1,
  155. 'user_register_form' => FALSE,
  156. ),
  157. 'widget' => array(
  158. 'active' => 1,
  159. 'module' => 'text',
  160. 'settings' => array(
  161. 'rows' => 10,
  162. ),
  163. 'type' => 'text_textarea',
  164. 'weight' => 102,
  165. ),
  166. );
  167. // Exported field_instance: 'node-chapitre-field_comprendre'
  168. $field_instances['node-chapitre-field_comprendre'] = array(
  169. 'bundle' => 'chapitre',
  170. 'default_value' => NULL,
  171. 'deleted' => 0,
  172. 'description' => '',
  173. 'display' => array(
  174. 'default' => array(
  175. 'label' => 'above',
  176. 'module' => 'text',
  177. 'settings' => array(),
  178. 'type' => 'text_default',
  179. 'weight' => 4,
  180. ),
  181. 'teaser' => array(
  182. 'label' => 'above',
  183. 'settings' => array(),
  184. 'type' => 'hidden',
  185. 'weight' => 0,
  186. ),
  187. ),
  188. 'entity_type' => 'node',
  189. 'field_name' => 'field_comprendre',
  190. 'label' => 'Comprendre',
  191. 'required' => 0,
  192. 'settings' => array(
  193. 'linkit' => array(
  194. 'button_text' => 'Recherche',
  195. 'enable' => 0,
  196. 'profile' => '',
  197. ),
  198. 'text_processing' => 1,
  199. 'user_register_form' => FALSE,
  200. ),
  201. 'widget' => array(
  202. 'active' => 1,
  203. 'module' => 'text',
  204. 'settings' => array(
  205. 'rows' => 10,
  206. ),
  207. 'type' => 'text_textarea',
  208. 'weight' => 100,
  209. ),
  210. );
  211. // Exported field_instance: 'node-chapitre-field_dbatre'
  212. $field_instances['node-chapitre-field_dbatre'] = array(
  213. 'bundle' => 'chapitre',
  214. 'default_value' => NULL,
  215. 'deleted' => 0,
  216. 'description' => '',
  217. 'display' => array(
  218. 'default' => array(
  219. 'label' => 'above',
  220. 'module' => 'text',
  221. 'settings' => array(),
  222. 'type' => 'text_default',
  223. 'weight' => 2,
  224. ),
  225. 'teaser' => array(
  226. 'label' => 'above',
  227. 'settings' => array(),
  228. 'type' => 'hidden',
  229. 'weight' => 0,
  230. ),
  231. ),
  232. 'entity_type' => 'node',
  233. 'field_name' => 'field_dbatre',
  234. 'label' => 'Débatre',
  235. 'required' => 0,
  236. 'settings' => array(
  237. 'linkit' => array(
  238. 'button_text' => 'Recherche',
  239. 'enable' => 0,
  240. 'profile' => '',
  241. ),
  242. 'text_processing' => 1,
  243. 'user_register_form' => FALSE,
  244. ),
  245. 'widget' => array(
  246. 'active' => 1,
  247. 'module' => 'text',
  248. 'settings' => array(
  249. 'rows' => 10,
  250. ),
  251. 'type' => 'text_textarea',
  252. 'weight' => 101,
  253. ),
  254. );
  255. // Exported field_instance: 'node-chapitre-field_partie'
  256. $field_instances['node-chapitre-field_partie'] = array(
  257. 'bundle' => 'chapitre',
  258. 'default_value' => NULL,
  259. 'deleted' => 0,
  260. 'description' => '',
  261. 'display' => array(
  262. 'default' => array(
  263. 'label' => 'above',
  264. 'module' => 'field_collection',
  265. 'settings' => array(
  266. 'add' => 'Ajouter',
  267. 'delete' => 'Supprimer',
  268. 'description' => TRUE,
  269. 'edit' => 'Modifier',
  270. 'view_mode' => 'full',
  271. ),
  272. 'type' => 'field_collection_view',
  273. 'weight' => 1,
  274. ),
  275. 'teaser' => array(
  276. 'label' => 'above',
  277. 'settings' => array(),
  278. 'type' => 'hidden',
  279. 'weight' => 0,
  280. ),
  281. ),
  282. 'entity_type' => 'node',
  283. 'field_name' => 'field_partie',
  284. 'label' => 'Partie',
  285. 'required' => 0,
  286. 'settings' => array(
  287. 'user_register_form' => FALSE,
  288. ),
  289. 'widget' => array(
  290. 'active' => 0,
  291. 'module' => 'field_collection',
  292. 'settings' => array(),
  293. 'type' => 'field_collection_embed',
  294. 'weight' => 3,
  295. ),
  296. );
  297. // Translatables
  298. // Included for use with string extractors like potx.
  299. t('Agir');
  300. t('Comprendre');
  301. t('Description');
  302. t('Débatre');
  303. t('Nom');
  304. t('Partie');
  305. t('Video');
  306. return $field_instances;
  307. }