popsu_villes.features.field_base.inc 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. <?php
  2. /**
  3. * @file
  4. * popsu_villes.features.field_base.inc
  5. */
  6. /**
  7. * Implements hook_field_default_field_bases().
  8. */
  9. function popsu_villes_field_default_field_bases() {
  10. $field_bases = array();
  11. // Exported field_base: 'field_popsu_ville_body'.
  12. $field_bases['field_popsu_ville_body'] = array(
  13. 'active' => 1,
  14. 'cardinality' => 1,
  15. 'deleted' => 0,
  16. 'entity_types' => array(),
  17. 'field_name' => 'field_popsu_ville_body',
  18. 'indexes' => array(
  19. 'format' => array(
  20. 0 => 'format',
  21. ),
  22. ),
  23. 'locked' => 0,
  24. 'module' => 'text',
  25. 'settings' => array(),
  26. 'translatable' => 0,
  27. 'type' => 'text_with_summary',
  28. );
  29. // Exported field_base: 'field_popsu_ville_coordinateur'.
  30. $field_bases['field_popsu_ville_coordinateur'] = array(
  31. 'active' => 1,
  32. 'cardinality' => 1,
  33. 'deleted' => 0,
  34. 'entity_types' => array(),
  35. 'field_name' => 'field_popsu_ville_coordinateur',
  36. 'indexes' => array(
  37. 'format' => array(
  38. 0 => 'format',
  39. ),
  40. ),
  41. 'locked' => 0,
  42. 'module' => 'text',
  43. 'settings' => array(),
  44. 'translatable' => 0,
  45. 'type' => 'text_long',
  46. );
  47. // Exported field_base: 'field_popsu_ville_equipe'.
  48. $field_bases['field_popsu_ville_equipe'] = array(
  49. 'active' => 1,
  50. 'cardinality' => 1,
  51. 'deleted' => 0,
  52. 'entity_types' => array(),
  53. 'field_name' => 'field_popsu_ville_equipe',
  54. 'indexes' => array(
  55. 'format' => array(
  56. 0 => 'format',
  57. ),
  58. ),
  59. 'locked' => 0,
  60. 'module' => 'text',
  61. 'settings' => array(),
  62. 'translatable' => 0,
  63. 'type' => 'text_long',
  64. );
  65. // Exported field_base: 'field_popsu_ville_images_illustr'.
  66. $field_bases['field_popsu_ville_images_illustr'] = array(
  67. 'active' => 1,
  68. 'cardinality' => -1,
  69. 'deleted' => 0,
  70. 'entity_types' => array(),
  71. 'field_name' => 'field_popsu_ville_images_illustr',
  72. 'indexes' => array(
  73. 'fid' => array(
  74. 0 => 'fid',
  75. ),
  76. ),
  77. 'locked' => 0,
  78. 'module' => 'image',
  79. 'settings' => array(
  80. 'default_image' => 0,
  81. 'uri_scheme' => 'public',
  82. ),
  83. 'translatable' => 0,
  84. 'type' => 'image',
  85. );
  86. // Exported field_base: 'field_popsu_ville_images_small'.
  87. $field_bases['field_popsu_ville_images_small'] = array(
  88. 'active' => 1,
  89. 'cardinality' => -1,
  90. 'deleted' => 0,
  91. 'entity_types' => array(),
  92. 'field_name' => 'field_popsu_ville_images_small',
  93. 'indexes' => array(
  94. 'fid' => array(
  95. 0 => 'fid',
  96. ),
  97. ),
  98. 'locked' => 0,
  99. 'module' => 'image',
  100. 'settings' => array(
  101. 'default_image' => 0,
  102. 'uri_scheme' => 'public',
  103. ),
  104. 'translatable' => 0,
  105. 'type' => 'image',
  106. );
  107. // Exported field_base: 'field_popsu_ville_partenairesimg'.
  108. $field_bases['field_popsu_ville_partenairesimg'] = array(
  109. 'active' => 1,
  110. 'cardinality' => -1,
  111. 'deleted' => 0,
  112. 'entity_types' => array(),
  113. 'field_name' => 'field_popsu_ville_partenairesimg',
  114. 'indexes' => array(
  115. 'fid' => array(
  116. 0 => 'fid',
  117. ),
  118. ),
  119. 'locked' => 0,
  120. 'module' => 'image',
  121. 'settings' => array(
  122. 'default_image' => 0,
  123. 'uri_scheme' => 'public',
  124. ),
  125. 'translatable' => 0,
  126. 'type' => 'image',
  127. );
  128. // Exported field_base: 'field_popsu_ville_partenairestxt'.
  129. $field_bases['field_popsu_ville_partenairestxt'] = array(
  130. 'active' => 1,
  131. 'cardinality' => 1,
  132. 'deleted' => 0,
  133. 'entity_types' => array(),
  134. 'field_name' => 'field_popsu_ville_partenairestxt',
  135. 'indexes' => array(
  136. 'format' => array(
  137. 0 => 'format',
  138. ),
  139. ),
  140. 'locked' => 0,
  141. 'module' => 'text',
  142. 'settings' => array(),
  143. 'translatable' => 0,
  144. 'type' => 'text_long',
  145. );
  146. // Exported field_base: 'field_popsu_ville_popsu'.
  147. $field_bases['field_popsu_ville_popsu'] = array(
  148. 'active' => 1,
  149. 'cardinality' => 1,
  150. 'deleted' => 0,
  151. 'entity_types' => array(),
  152. 'field_name' => 'field_popsu_ville_popsu',
  153. 'indexes' => array(
  154. 'tid' => array(
  155. 0 => 'tid',
  156. ),
  157. ),
  158. 'locked' => 0,
  159. 'module' => 'taxonomy',
  160. 'settings' => array(
  161. 'allowed_values' => array(
  162. 0 => array(
  163. 'vocabulary' => 'popsu_popsu',
  164. 'parent' => 0,
  165. ),
  166. ),
  167. 'options_list_callback' => 'i18n_taxonomy_allowed_values',
  168. ),
  169. 'translatable' => 0,
  170. 'type' => 'taxonomy_term_reference',
  171. );
  172. // Exported field_base: 'field_popsu_ville_ville'.
  173. $field_bases['field_popsu_ville_ville'] = array(
  174. 'active' => 1,
  175. 'cardinality' => 1,
  176. 'deleted' => 0,
  177. 'entity_types' => array(),
  178. 'field_name' => 'field_popsu_ville_ville',
  179. 'indexes' => array(
  180. 'tid' => array(
  181. 0 => 'tid',
  182. ),
  183. ),
  184. 'locked' => 0,
  185. 'module' => 'taxonomy',
  186. 'settings' => array(
  187. 'allowed_values' => array(
  188. 0 => array(
  189. 'vocabulary' => 'popsu_villes',
  190. 'parent' => 0,
  191. ),
  192. ),
  193. 'options_list_callback' => 'i18n_taxonomy_allowed_values',
  194. ),
  195. 'translatable' => 0,
  196. 'type' => 'taxonomy_term_reference',
  197. );
  198. return $field_bases;
  199. }