clameurs.features.field_base.inc 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456
  1. <?php
  2. /**
  3. * @file
  4. * clameurs.features.field_base.inc
  5. */
  6. /**
  7. * Implements hook_field_default_field_bases().
  8. */
  9. function clameurs_field_default_field_bases() {
  10. $field_bases = array();
  11. // Exported field_base: 'cer_bidirectional'.
  12. $field_bases['cer_bidirectional'] = array(
  13. 'active' => 1,
  14. 'cardinality' => 1,
  15. 'deleted' => 0,
  16. 'entity_types' => array(),
  17. 'field_name' => 'cer_bidirectional',
  18. 'indexes' => array(
  19. 'value' => array(
  20. 0 => 'value',
  21. ),
  22. ),
  23. 'locked' => 0,
  24. 'module' => 'list',
  25. 'settings' => array(
  26. 'allowed_values' => array(
  27. 0 => 0,
  28. 1 => 1,
  29. ),
  30. 'allowed_values_function' => '',
  31. 'entity_translation_sync' => FALSE,
  32. ),
  33. 'translatable' => 0,
  34. 'type' => 'list_boolean',
  35. );
  36. // Exported field_base: 'cer_enabled'.
  37. $field_bases['cer_enabled'] = array(
  38. 'active' => 1,
  39. 'cardinality' => 1,
  40. 'deleted' => 0,
  41. 'entity_types' => array(),
  42. 'field_name' => 'cer_enabled',
  43. 'indexes' => array(
  44. 'value' => array(
  45. 0 => 'value',
  46. ),
  47. ),
  48. 'locked' => 1,
  49. 'module' => 'list',
  50. 'settings' => array(
  51. 'allowed_values' => array(
  52. 0 => 0,
  53. 1 => 1,
  54. ),
  55. 'allowed_values_function' => '',
  56. 'entity_translation_sync' => FALSE,
  57. ),
  58. 'translatable' => 0,
  59. 'type' => 'list_boolean',
  60. );
  61. // Exported field_base: 'cer_left'.
  62. $field_bases['cer_left'] = array(
  63. 'active' => 1,
  64. 'cardinality' => 1,
  65. 'deleted' => 0,
  66. 'entity_types' => array(),
  67. 'field_name' => 'cer_left',
  68. 'indexes' => array(),
  69. 'locked' => 1,
  70. 'module' => 'field_object',
  71. 'settings' => array(
  72. 'entity_translation_sync' => FALSE,
  73. ),
  74. 'translatable' => 0,
  75. 'type' => 'field_object',
  76. );
  77. // Exported field_base: 'cer_right'.
  78. $field_bases['cer_right'] = array(
  79. 'active' => 1,
  80. 'cardinality' => 1,
  81. 'deleted' => 0,
  82. 'entity_types' => array(),
  83. 'field_name' => 'cer_right',
  84. 'indexes' => array(),
  85. 'locked' => 1,
  86. 'module' => 'field_object',
  87. 'settings' => array(
  88. 'entity_translation_sync' => FALSE,
  89. ),
  90. 'translatable' => 0,
  91. 'type' => 'field_object',
  92. );
  93. // Exported field_base: 'cer_weight'.
  94. $field_bases['cer_weight'] = array(
  95. 'active' => 1,
  96. 'cardinality' => 1,
  97. 'deleted' => 0,
  98. 'entity_types' => array(),
  99. 'field_name' => 'cer_weight',
  100. 'indexes' => array(
  101. 'value' => array(
  102. 0 => 'value',
  103. ),
  104. ),
  105. 'locked' => 0,
  106. 'module' => 'list',
  107. 'settings' => array(
  108. 'allowed_values' => array(),
  109. 'allowed_values_function' => 'cer_weight_options',
  110. 'entity_translation_sync' => FALSE,
  111. ),
  112. 'translatable' => 0,
  113. 'type' => 'list_integer',
  114. );
  115. // Exported field_base: 'field_description'.
  116. $field_bases['field_description'] = array(
  117. 'active' => 1,
  118. 'cardinality' => 1,
  119. 'deleted' => 0,
  120. 'entity_types' => array(),
  121. 'field_name' => 'field_description',
  122. 'field_permissions' => array(
  123. 'type' => 0,
  124. ),
  125. 'indexes' => array(
  126. 'format' => array(
  127. 0 => 'format',
  128. ),
  129. ),
  130. 'locked' => 0,
  131. 'module' => 'text',
  132. 'settings' => array(
  133. 'entity_translation_sync' => FALSE,
  134. ),
  135. 'translatable' => 0,
  136. 'type' => 'text_long',
  137. );
  138. // Exported field_base: 'field_doc'.
  139. $field_bases['field_doc'] = array(
  140. 'active' => 1,
  141. 'cardinality' => 1,
  142. 'deleted' => 0,
  143. 'entity_types' => array(),
  144. 'field_name' => 'field_doc',
  145. 'field_permissions' => array(
  146. 'type' => 0,
  147. ),
  148. 'indexes' => array(
  149. 'target_id' => array(
  150. 0 => 'target_id',
  151. ),
  152. ),
  153. 'locked' => 0,
  154. 'module' => 'entityreference',
  155. 'settings' => array(
  156. 'entity_translation_sync' => FALSE,
  157. 'handler' => 'views',
  158. 'handler_settings' => array(
  159. 'behaviors' => array(
  160. 'views-select-list' => array(
  161. 'status' => 0,
  162. ),
  163. ),
  164. 'view' => array(
  165. 'args' => array(),
  166. 'display_name' => 'entityreference_1',
  167. 'view_name' => 'actions_filter',
  168. ),
  169. ),
  170. 'target_type' => 'taxonomy_term',
  171. ),
  172. 'translatable' => 0,
  173. 'type' => 'entityreference',
  174. );
  175. // Exported field_base: 'field_eclairages'.
  176. $field_bases['field_eclairages'] = array(
  177. 'active' => 1,
  178. 'cardinality' => 3,
  179. 'deleted' => 0,
  180. 'entity_types' => array(),
  181. 'field_name' => 'field_eclairages',
  182. 'field_permissions' => array(
  183. 'type' => 0,
  184. ),
  185. 'indexes' => array(
  186. 'target_id' => array(
  187. 0 => 'target_id',
  188. ),
  189. ),
  190. 'locked' => 0,
  191. 'module' => 'entityreference',
  192. 'settings' => array(
  193. 'entity_translation_sync' => FALSE,
  194. 'handler' => 'base',
  195. 'handler_settings' => array(
  196. 'behaviors' => array(
  197. 'views-select-list' => array(
  198. 'status' => 0,
  199. ),
  200. ),
  201. 'sort' => array(
  202. 'type' => 'none',
  203. ),
  204. 'target_bundles' => array(
  205. 'documentair' => 'documentair',
  206. ),
  207. ),
  208. 'target_type' => 'node',
  209. ),
  210. 'translatable' => 0,
  211. 'type' => 'entityreference',
  212. );
  213. // Exported field_base: 'field_ecouter'.
  214. $field_bases['field_ecouter'] = array(
  215. 'active' => 1,
  216. 'cardinality' => 1,
  217. 'deleted' => 0,
  218. 'entity_types' => array(),
  219. 'field_name' => 'field_ecouter',
  220. 'field_permissions' => array(
  221. 'type' => 0,
  222. ),
  223. 'indexes' => array(
  224. 'tid' => array(
  225. 0 => 'tid',
  226. ),
  227. ),
  228. 'locked' => 0,
  229. 'module' => 'taxonomy',
  230. 'settings' => array(
  231. 'allowed_values' => array(
  232. 0 => array(
  233. 'vocabulary' => 'actions',
  234. 'parent' => 0,
  235. ),
  236. ),
  237. 'entity_translation_sync' => FALSE,
  238. 'options_list_callback' => 'title_taxonomy_allowed_values',
  239. ),
  240. 'translatable' => 0,
  241. 'type' => 'taxonomy_term_reference',
  242. );
  243. // Exported field_base: 'field_emvideo'.
  244. $field_bases['field_emvideo'] = array(
  245. 'active' => 1,
  246. 'cardinality' => 1,
  247. 'deleted' => 0,
  248. 'entity_types' => array(),
  249. 'field_name' => 'field_emvideo',
  250. 'field_permissions' => array(
  251. 'type' => 0,
  252. ),
  253. 'indexes' => array(),
  254. 'locked' => 0,
  255. 'module' => 'video_embed_field',
  256. 'settings' => array(
  257. 'entity_translation_sync' => FALSE,
  258. ),
  259. 'translatable' => 0,
  260. 'type' => 'video_embed_field',
  261. );
  262. // Exported field_base: 'field_episodes'.
  263. $field_bases['field_episodes'] = array(
  264. 'active' => 1,
  265. 'cardinality' => -1,
  266. 'deleted' => 0,
  267. 'entity_types' => array(),
  268. 'field_name' => 'field_episodes',
  269. 'field_permissions' => array(
  270. 'type' => 0,
  271. ),
  272. 'indexes' => array(
  273. 'target_id' => array(
  274. 0 => 'target_id',
  275. ),
  276. ),
  277. 'locked' => 0,
  278. 'module' => 'entityreference',
  279. 'settings' => array(
  280. 'entity_translation_sync' => FALSE,
  281. 'handler' => 'base',
  282. 'handler_settings' => array(
  283. 'behaviors' => array(
  284. 'views-select-list' => array(
  285. 'status' => 0,
  286. ),
  287. ),
  288. 'sort' => array(
  289. 'type' => 'none',
  290. ),
  291. 'target_bundles' => array(
  292. 'episode' => 'episode',
  293. ),
  294. ),
  295. 'target_type' => 'node',
  296. ),
  297. 'translatable' => 0,
  298. 'type' => 'entityreference',
  299. );
  300. // Exported field_base: 'field_habiter'.
  301. $field_bases['field_habiter'] = array(
  302. 'active' => 1,
  303. 'cardinality' => 1,
  304. 'deleted' => 0,
  305. 'entity_types' => array(),
  306. 'field_name' => 'field_habiter',
  307. 'field_permissions' => array(
  308. 'type' => 0,
  309. ),
  310. 'indexes' => array(
  311. 'target_id' => array(
  312. 0 => 'target_id',
  313. ),
  314. ),
  315. 'locked' => 0,
  316. 'module' => 'entityreference',
  317. 'settings' => array(
  318. 'entity_translation_sync' => FALSE,
  319. 'handler' => 'base',
  320. 'handler_settings' => array(
  321. 'behaviors' => array(
  322. 'views-select-list' => array(
  323. 'status' => 0,
  324. ),
  325. ),
  326. 'sort' => array(
  327. 'type' => 'none',
  328. ),
  329. 'target_bundles' => array(
  330. 'actions' => 'actions',
  331. ),
  332. ),
  333. 'target_type' => 'taxonomy_term',
  334. ),
  335. 'translatable' => 0,
  336. 'type' => 'entityreference',
  337. );
  338. // Exported field_base: 'field_legende'.
  339. $field_bases['field_legende'] = array(
  340. 'active' => 1,
  341. 'cardinality' => 1,
  342. 'deleted' => 0,
  343. 'entity_types' => array(),
  344. 'field_name' => 'field_legende',
  345. 'indexes' => array(
  346. 'format' => array(
  347. 0 => 'format',
  348. ),
  349. ),
  350. 'locked' => 0,
  351. 'module' => 'text',
  352. 'settings' => array(
  353. 'entity_translation_sync' => FALSE,
  354. 'max_length' => 255,
  355. ),
  356. 'translatable' => 0,
  357. 'type' => 'text',
  358. );
  359. // Exported field_base: 'field_poid'.
  360. $field_bases['field_poid'] = array(
  361. 'active' => 1,
  362. 'cardinality' => 1,
  363. 'deleted' => 0,
  364. 'entity_types' => array(),
  365. 'field_name' => 'field_poid',
  366. 'field_permissions' => array(
  367. 'type' => 1,
  368. ),
  369. 'indexes' => array(),
  370. 'locked' => 0,
  371. 'module' => 'number',
  372. 'settings' => array(
  373. 'entity_translation_sync' => FALSE,
  374. ),
  375. 'translatable' => 0,
  376. 'type' => 'number_integer',
  377. );
  378. // Exported field_base: 'field_thematique'.
  379. $field_bases['field_thematique'] = array(
  380. 'active' => 1,
  381. 'cardinality' => 1,
  382. 'deleted' => 0,
  383. 'entity_types' => array(),
  384. 'field_name' => 'field_thematique',
  385. 'field_permissions' => array(
  386. 'type' => 0,
  387. ),
  388. 'indexes' => array(
  389. 'target_id' => array(
  390. 0 => 'target_id',
  391. ),
  392. ),
  393. 'locked' => 0,
  394. 'module' => 'entityreference',
  395. 'settings' => array(
  396. 'entity_translation_sync' => FALSE,
  397. 'handler' => 'base',
  398. 'handler_settings' => array(
  399. 'behaviors' => array(
  400. 'views-select-list' => array(
  401. 'status' => 0,
  402. ),
  403. ),
  404. 'sort' => array(
  405. 'type' => 'none',
  406. ),
  407. 'target_bundles' => array(
  408. 'thematique' => 'thematique',
  409. ),
  410. ),
  411. 'target_type' => 'node',
  412. ),
  413. 'translatable' => 0,
  414. 'type' => 'entityreference',
  415. );
  416. // Exported field_base: 'title_field'.
  417. $field_bases['title_field'] = array(
  418. 'active' => 1,
  419. 'cardinality' => 1,
  420. 'deleted' => 0,
  421. 'entity_types' => array(),
  422. 'field_name' => 'title_field',
  423. 'indexes' => array(
  424. 'format' => array(
  425. 0 => 'format',
  426. ),
  427. ),
  428. 'locked' => 0,
  429. 'module' => 'text',
  430. 'settings' => array(
  431. 'entity_translation_sync' => FALSE,
  432. 'max_length' => 255,
  433. ),
  434. 'translatable' => 1,
  435. 'type' => 'text',
  436. );
  437. return $field_bases;
  438. }