clameurs.features.field_base.inc 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299
  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: 'field_description'
  12. $field_bases['field_description'] = array(
  13. 'active' => 1,
  14. 'cardinality' => 1,
  15. 'deleted' => 0,
  16. 'entity_types' => array(),
  17. 'field_name' => 'field_description',
  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. 'entity_translation_sync' => FALSE,
  38. ),
  39. 'translatable' => 0,
  40. 'type' => 'text_long',
  41. );
  42. // Exported field_base: 'field_doc'
  43. $field_bases['field_doc'] = array(
  44. 'active' => 1,
  45. 'cardinality' => 1,
  46. 'deleted' => 0,
  47. 'entity_types' => array(),
  48. 'field_name' => 'field_doc',
  49. 'field_permissions' => array(
  50. 'type' => 0,
  51. ),
  52. 'foreign keys' => array(
  53. 'taxonomy_term_data' => array(
  54. 'columns' => array(
  55. 'target_id' => 'tid',
  56. ),
  57. 'table' => 'taxonomy_term_data',
  58. ),
  59. ),
  60. 'indexes' => array(
  61. 'target_id' => array(
  62. 0 => 'target_id',
  63. ),
  64. ),
  65. 'locked' => 0,
  66. 'module' => 'entityreference',
  67. 'settings' => array(
  68. 'entity_translation_sync' => FALSE,
  69. 'handler' => 'views',
  70. 'handler_settings' => array(
  71. 'behaviors' => array(
  72. 'views-select-list' => array(
  73. 'status' => 0,
  74. ),
  75. ),
  76. 'view' => array(
  77. 'args' => array(),
  78. 'display_name' => 'entityreference_1',
  79. 'view_name' => 'actions_filter',
  80. ),
  81. ),
  82. 'target_type' => 'taxonomy_term',
  83. ),
  84. 'translatable' => 0,
  85. 'type' => 'entityreference',
  86. );
  87. // Exported field_base: 'field_ecouter'
  88. $field_bases['field_ecouter'] = array(
  89. 'active' => 1,
  90. 'cardinality' => 1,
  91. 'deleted' => 0,
  92. 'entity_types' => array(),
  93. 'field_name' => 'field_ecouter',
  94. 'field_permissions' => array(
  95. 'type' => 0,
  96. ),
  97. 'foreign keys' => array(
  98. 'tid' => array(
  99. 'columns' => array(
  100. 'tid' => 'tid',
  101. ),
  102. 'table' => 'taxonomy_term_data',
  103. ),
  104. ),
  105. 'indexes' => array(
  106. 'tid' => array(
  107. 0 => 'tid',
  108. ),
  109. ),
  110. 'locked' => 0,
  111. 'module' => 'taxonomy',
  112. 'settings' => array(
  113. 'allowed_values' => array(
  114. 0 => array(
  115. 'vocabulary' => 'actions',
  116. 'parent' => 0,
  117. ),
  118. ),
  119. 'entity_translation_sync' => FALSE,
  120. ),
  121. 'translatable' => 0,
  122. 'type' => 'taxonomy_term_reference',
  123. );
  124. // Exported field_base: 'field_episodes'
  125. $field_bases['field_episodes'] = array(
  126. 'active' => 1,
  127. 'cardinality' => -1,
  128. 'deleted' => 0,
  129. 'entity_types' => array(),
  130. 'field_name' => 'field_episodes',
  131. 'field_permissions' => array(
  132. 'type' => 0,
  133. ),
  134. 'foreign keys' => array(
  135. 'node' => array(
  136. 'columns' => array(
  137. 'target_id' => 'nid',
  138. ),
  139. 'table' => 'node',
  140. ),
  141. ),
  142. 'indexes' => array(
  143. 'target_id' => array(
  144. 0 => 'target_id',
  145. ),
  146. ),
  147. 'locked' => 0,
  148. 'module' => 'entityreference',
  149. 'settings' => array(
  150. 'entity_translation_sync' => FALSE,
  151. 'handler' => 'base',
  152. 'handler_settings' => array(
  153. 'behaviors' => array(
  154. 'views-select-list' => array(
  155. 'status' => 0,
  156. ),
  157. ),
  158. 'sort' => array(
  159. 'type' => 'none',
  160. ),
  161. 'target_bundles' => array(
  162. 'episode' => 'episode',
  163. ),
  164. ),
  165. 'target_type' => 'node',
  166. ),
  167. 'translatable' => 0,
  168. 'type' => 'entityreference',
  169. );
  170. // Exported field_base: 'field_habiter'
  171. $field_bases['field_habiter'] = array(
  172. 'active' => 1,
  173. 'cardinality' => 1,
  174. 'deleted' => 0,
  175. 'entity_types' => array(),
  176. 'field_name' => 'field_habiter',
  177. 'field_permissions' => array(
  178. 'type' => 0,
  179. ),
  180. 'foreign keys' => array(
  181. 'taxonomy_term_data' => array(
  182. 'columns' => array(
  183. 'target_id' => 'tid',
  184. ),
  185. 'table' => 'taxonomy_term_data',
  186. ),
  187. ),
  188. 'indexes' => array(
  189. 'target_id' => array(
  190. 0 => 'target_id',
  191. ),
  192. ),
  193. 'locked' => 0,
  194. 'module' => 'entityreference',
  195. 'settings' => array(
  196. 'entity_translation_sync' => FALSE,
  197. 'handler' => 'base',
  198. 'handler_settings' => array(
  199. 'behaviors' => array(
  200. 'views-select-list' => array(
  201. 'status' => 0,
  202. ),
  203. ),
  204. 'sort' => array(
  205. 'type' => 'none',
  206. ),
  207. 'target_bundles' => array(
  208. 'actions' => 'actions',
  209. ),
  210. ),
  211. 'target_type' => 'taxonomy_term',
  212. ),
  213. 'translatable' => 0,
  214. 'type' => 'entityreference',
  215. );
  216. // Exported field_base: 'field_thematique'
  217. $field_bases['field_thematique'] = array(
  218. 'active' => 1,
  219. 'cardinality' => 1,
  220. 'deleted' => 0,
  221. 'entity_types' => array(),
  222. 'field_name' => 'field_thematique',
  223. 'field_permissions' => array(
  224. 'type' => 0,
  225. ),
  226. 'foreign keys' => array(
  227. 'node' => array(
  228. 'columns' => array(
  229. 'target_id' => 'nid',
  230. ),
  231. 'table' => 'node',
  232. ),
  233. ),
  234. 'indexes' => array(
  235. 'target_id' => array(
  236. 0 => 'target_id',
  237. ),
  238. ),
  239. 'locked' => 0,
  240. 'module' => 'entityreference',
  241. 'settings' => array(
  242. 'entity_translation_sync' => FALSE,
  243. 'handler' => 'base',
  244. 'handler_settings' => array(
  245. 'behaviors' => array(
  246. 'views-select-list' => array(
  247. 'status' => 0,
  248. ),
  249. ),
  250. 'sort' => array(
  251. 'type' => 'none',
  252. ),
  253. 'target_bundles' => array(
  254. 'thematique' => 'thematique',
  255. ),
  256. ),
  257. 'target_type' => 'node',
  258. ),
  259. 'translatable' => 0,
  260. 'type' => 'entityreference',
  261. );
  262. // Exported field_base: 'field_video'
  263. $field_bases['field_video'] = array(
  264. 'active' => 1,
  265. 'cardinality' => 1,
  266. 'deleted' => 0,
  267. 'entity_types' => array(),
  268. 'field_name' => 'field_video',
  269. 'field_permissions' => array(
  270. 'type' => 0,
  271. ),
  272. 'foreign keys' => array(),
  273. 'indexes' => array(
  274. 'height' => array(
  275. 0 => 'height',
  276. ),
  277. 'width' => array(
  278. 0 => 'width',
  279. ),
  280. ),
  281. 'locked' => 0,
  282. 'module' => 'video_filter_field',
  283. 'settings' => array(
  284. 'entity_translation_sync' => FALSE,
  285. ),
  286. 'translatable' => 0,
  287. 'type' => 'video_filter',
  288. );
  289. return $field_bases;
  290. }