chapitre.features.field_base.inc 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340
  1. <?php
  2. /**
  3. * @file
  4. * chapitre.features.field_base.inc
  5. */
  6. /**
  7. * Implements hook_field_default_field_bases().
  8. */
  9. function chapitre_field_default_field_bases() {
  10. $field_bases = array();
  11. // Exported field_base: 'field_accroche'
  12. $field_bases['field_accroche'] = array(
  13. 'active' => 1,
  14. 'cardinality' => 1,
  15. 'deleted' => 0,
  16. 'entity_types' => array(),
  17. 'field_name' => 'field_accroche',
  18. 'field_permissions' => array(
  19. 'type' => 0,
  20. ),
  21. 'foreign keys' => array(
  22. 'format' => array(
  23. 'columns' => array(
  24. 'format' => 'format',
  25. ),
  26. 'table' => 'filter_format',
  27. ),
  28. ),
  29. 'indexes' => array(
  30. 'format' => array(
  31. 0 => 'format',
  32. ),
  33. ),
  34. 'locked' => 0,
  35. 'module' => 'text',
  36. 'settings' => array(),
  37. 'translatable' => 0,
  38. 'type' => 'text_long',
  39. );
  40. // Exported field_base: 'field_agir'
  41. $field_bases['field_agir'] = array(
  42. 'active' => 1,
  43. 'cardinality' => 1,
  44. 'deleted' => 0,
  45. 'entity_types' => array(),
  46. 'field_name' => 'field_agir',
  47. 'field_permissions' => array(
  48. 'type' => 0,
  49. ),
  50. 'foreign keys' => array(
  51. 'format' => array(
  52. 'columns' => array(
  53. 'format' => 'format',
  54. ),
  55. 'table' => 'filter_format',
  56. ),
  57. ),
  58. 'indexes' => array(
  59. 'format' => array(
  60. 0 => 'format',
  61. ),
  62. ),
  63. 'locked' => 0,
  64. 'module' => 'text',
  65. 'settings' => array(),
  66. 'translatable' => 0,
  67. 'type' => 'text_long',
  68. );
  69. // Exported field_base: 'field_comprendre'
  70. $field_bases['field_comprendre'] = array(
  71. 'active' => 1,
  72. 'cardinality' => 1,
  73. 'deleted' => 0,
  74. 'entity_types' => array(),
  75. 'field_name' => 'field_comprendre',
  76. 'field_permissions' => array(
  77. 'type' => 0,
  78. ),
  79. 'foreign keys' => array(
  80. 'format' => array(
  81. 'columns' => array(
  82. 'format' => 'format',
  83. ),
  84. 'table' => 'filter_format',
  85. ),
  86. ),
  87. 'indexes' => array(
  88. 'format' => array(
  89. 0 => 'format',
  90. ),
  91. ),
  92. 'locked' => 0,
  93. 'module' => 'text',
  94. 'settings' => array(),
  95. 'translatable' => 0,
  96. 'type' => 'text_long',
  97. );
  98. // Exported field_base: 'field_dbatre'
  99. $field_bases['field_dbatre'] = array(
  100. 'active' => 1,
  101. 'cardinality' => 1,
  102. 'deleted' => 0,
  103. 'entity_types' => array(),
  104. 'field_name' => 'field_dbatre',
  105. 'field_permissions' => array(
  106. 'type' => 0,
  107. ),
  108. 'foreign keys' => array(
  109. 'format' => array(
  110. 'columns' => array(
  111. 'format' => 'format',
  112. ),
  113. 'table' => 'filter_format',
  114. ),
  115. ),
  116. 'indexes' => array(
  117. 'format' => array(
  118. 0 => 'format',
  119. ),
  120. ),
  121. 'locked' => 0,
  122. 'module' => 'text',
  123. 'settings' => array(),
  124. 'translatable' => 0,
  125. 'type' => 'text_long',
  126. );
  127. // Exported field_base: 'field_description'
  128. $field_bases['field_description'] = array(
  129. 'active' => 1,
  130. 'cardinality' => 1,
  131. 'deleted' => 0,
  132. 'entity_types' => array(),
  133. 'field_name' => 'field_description',
  134. 'field_permissions' => array(
  135. 'type' => 0,
  136. ),
  137. 'foreign keys' => array(
  138. 'format' => array(
  139. 'columns' => array(
  140. 'format' => 'format',
  141. ),
  142. 'table' => 'filter_format',
  143. ),
  144. ),
  145. 'indexes' => array(
  146. 'format' => array(
  147. 0 => 'format',
  148. ),
  149. ),
  150. 'locked' => 0,
  151. 'module' => 'text',
  152. 'settings' => array(
  153. 'max_length' => 255,
  154. ),
  155. 'translatable' => 0,
  156. 'type' => 'text',
  157. );
  158. // Exported field_base: 'field_partager'
  159. $field_bases['field_partager'] = array(
  160. 'active' => 1,
  161. 'cardinality' => 1,
  162. 'deleted' => 0,
  163. 'entity_types' => array(),
  164. 'field_name' => 'field_partager',
  165. 'field_permissions' => array(
  166. 'type' => 0,
  167. ),
  168. 'foreign keys' => array(
  169. 'format' => array(
  170. 'columns' => array(
  171. 'format' => 'format',
  172. ),
  173. 'table' => 'filter_format',
  174. ),
  175. ),
  176. 'indexes' => array(
  177. 'format' => array(
  178. 0 => 'format',
  179. ),
  180. ),
  181. 'locked' => 0,
  182. 'module' => 'text',
  183. 'settings' => array(
  184. 'max_length' => 255,
  185. ),
  186. 'translatable' => 0,
  187. 'type' => 'text',
  188. );
  189. // Exported field_base: 'field_partie'
  190. $field_bases['field_partie'] = array(
  191. 'active' => 1,
  192. 'cardinality' => 3,
  193. 'deleted' => 0,
  194. 'entity_types' => array(),
  195. 'field_name' => 'field_partie',
  196. 'field_permissions' => array(
  197. 'type' => 0,
  198. ),
  199. 'foreign keys' => array(),
  200. 'indexes' => array(
  201. 'revision_id' => array(
  202. 0 => 'revision_id',
  203. ),
  204. ),
  205. 'locked' => 0,
  206. 'module' => 'field_collection',
  207. 'settings' => array(
  208. 'hide_blank_items' => 1,
  209. 'path' => '',
  210. ),
  211. 'translatable' => 0,
  212. 'type' => 'field_collection',
  213. );
  214. // Exported field_base: 'field_sous_titre'
  215. $field_bases['field_sous_titre'] = array(
  216. 'active' => 1,
  217. 'cardinality' => 1,
  218. 'deleted' => 0,
  219. 'entity_types' => array(),
  220. 'field_name' => 'field_sous_titre',
  221. 'field_permissions' => array(
  222. 'type' => 0,
  223. ),
  224. 'foreign keys' => array(
  225. 'format' => array(
  226. 'columns' => array(
  227. 'format' => 'format',
  228. ),
  229. 'table' => 'filter_format',
  230. ),
  231. ),
  232. 'indexes' => array(
  233. 'format' => array(
  234. 0 => 'format',
  235. ),
  236. ),
  237. 'locked' => 0,
  238. 'module' => 'text',
  239. 'settings' => array(
  240. 'max_length' => 255,
  241. ),
  242. 'translatable' => 0,
  243. 'type' => 'text',
  244. );
  245. // Exported field_base: 'field_titre'
  246. $field_bases['field_titre'] = array(
  247. 'active' => 1,
  248. 'cardinality' => 1,
  249. 'deleted' => 0,
  250. 'entity_types' => array(),
  251. 'field_name' => 'field_titre',
  252. 'field_permissions' => array(
  253. 'type' => 0,
  254. ),
  255. 'foreign keys' => array(
  256. 'format' => array(
  257. 'columns' => array(
  258. 'format' => 'format',
  259. ),
  260. 'table' => 'filter_format',
  261. ),
  262. ),
  263. 'indexes' => array(
  264. 'format' => array(
  265. 0 => 'format',
  266. ),
  267. ),
  268. 'locked' => 0,
  269. 'module' => 'text',
  270. 'settings' => array(
  271. 'max_length' => 255,
  272. ),
  273. 'translatable' => 0,
  274. 'type' => 'text',
  275. );
  276. // Exported field_base: 'field_video'
  277. $field_bases['field_video'] = array(
  278. 'active' => 1,
  279. 'cardinality' => 1,
  280. 'deleted' => 0,
  281. 'entity_types' => array(),
  282. 'field_name' => 'field_video',
  283. 'field_permissions' => array(
  284. 'type' => 0,
  285. ),
  286. 'foreign keys' => array(),
  287. 'indexes' => array(),
  288. 'locked' => 0,
  289. 'module' => 'video_embed_field',
  290. 'settings' => array(),
  291. 'translatable' => 0,
  292. 'type' => 'video_embed_field',
  293. );
  294. // Exported field_base: 'field_vignette'
  295. $field_bases['field_vignette'] = array(
  296. 'active' => 1,
  297. 'cardinality' => 1,
  298. 'deleted' => 0,
  299. 'entity_types' => array(),
  300. 'field_name' => 'field_vignette',
  301. 'field_permissions' => array(
  302. 'type' => 0,
  303. ),
  304. 'foreign keys' => array(
  305. 'fid' => array(
  306. 'columns' => array(
  307. 'fid' => 'fid',
  308. ),
  309. 'table' => 'file_managed',
  310. ),
  311. ),
  312. 'indexes' => array(
  313. 'fid' => array(
  314. 0 => 'fid',
  315. ),
  316. ),
  317. 'locked' => 0,
  318. 'module' => 'image',
  319. 'settings' => array(
  320. 'default_image' => 0,
  321. 'uri_scheme' => 'public',
  322. ),
  323. 'translatable' => 0,
  324. 'type' => 'image',
  325. );
  326. return $field_bases;
  327. }