popsu_actualites.features.field_base.inc 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. <?php
  2. /**
  3. * @file
  4. * popsu_actualites.features.field_base.inc
  5. */
  6. /**
  7. * Implements hook_field_default_field_bases().
  8. */
  9. function popsu_actualites_field_default_field_bases() {
  10. $field_bases = array();
  11. // Exported field_base: 'field_popsu_actu_attachment'.
  12. $field_bases['field_popsu_actu_attachment'] = array(
  13. 'active' => 1,
  14. 'cardinality' => -1,
  15. 'deleted' => 0,
  16. 'entity_types' => array(),
  17. 'field_name' => 'field_popsu_actu_attachment',
  18. 'indexes' => array(
  19. 'fid' => array(
  20. 0 => 'fid',
  21. ),
  22. ),
  23. 'locked' => 0,
  24. 'module' => 'file',
  25. 'settings' => array(
  26. 'display_default' => 0,
  27. 'display_field' => 0,
  28. 'uri_scheme' => 'public',
  29. ),
  30. 'translatable' => 0,
  31. 'type' => 'file',
  32. );
  33. // Exported field_base: 'field_popsu_actu_body'.
  34. $field_bases['field_popsu_actu_body'] = array(
  35. 'active' => 1,
  36. 'cardinality' => 1,
  37. 'deleted' => 0,
  38. 'entity_types' => array(),
  39. 'field_name' => 'field_popsu_actu_body',
  40. 'indexes' => array(
  41. 'format' => array(
  42. 0 => 'format',
  43. ),
  44. ),
  45. 'locked' => 0,
  46. 'module' => 'text',
  47. 'settings' => array(),
  48. 'translatable' => 0,
  49. 'type' => 'text_with_summary',
  50. );
  51. // Exported field_base: 'field_popsu_actu_date'.
  52. $field_bases['field_popsu_actu_date'] = array(
  53. 'active' => 1,
  54. 'cardinality' => 1,
  55. 'deleted' => 0,
  56. 'entity_types' => array(),
  57. 'field_name' => 'field_popsu_actu_date',
  58. 'indexes' => array(),
  59. 'locked' => 0,
  60. 'module' => 'date',
  61. 'settings' => array(
  62. 'cache_count' => 4,
  63. 'cache_enabled' => 0,
  64. 'granularity' => array(
  65. 'day' => 'day',
  66. 'hour' => 0,
  67. 'minute' => 0,
  68. 'month' => 'month',
  69. 'second' => 0,
  70. 'year' => 'year',
  71. ),
  72. 'timezone_db' => '',
  73. 'todate' => '',
  74. 'tz_handling' => 'none',
  75. ),
  76. 'translatable' => 0,
  77. 'type' => 'datetime',
  78. );
  79. // Exported field_base: 'field_popsu_actu_date_fin'.
  80. $field_bases['field_popsu_actu_date_fin'] = array(
  81. 'active' => 1,
  82. 'cardinality' => 1,
  83. 'deleted' => 0,
  84. 'entity_types' => array(),
  85. 'field_name' => 'field_popsu_actu_date_fin',
  86. 'indexes' => array(),
  87. 'locked' => 0,
  88. 'module' => 'date',
  89. 'settings' => array(
  90. 'cache_count' => 4,
  91. 'cache_enabled' => 0,
  92. 'granularity' => array(
  93. 'day' => 'day',
  94. 'hour' => 0,
  95. 'minute' => 0,
  96. 'month' => 'month',
  97. 'second' => 0,
  98. 'year' => 'year',
  99. ),
  100. 'timezone_db' => '',
  101. 'todate' => '',
  102. 'tz_handling' => 'none',
  103. ),
  104. 'translatable' => 0,
  105. 'type' => 'datetime',
  106. );
  107. // Exported field_base: 'field_popsu_actu_enhome'.
  108. $field_bases['field_popsu_actu_enhome'] = array(
  109. 'active' => 1,
  110. 'cardinality' => 1,
  111. 'deleted' => 0,
  112. 'entity_types' => array(),
  113. 'field_name' => 'field_popsu_actu_enhome',
  114. 'indexes' => array(
  115. 'value' => array(
  116. 0 => 'value',
  117. ),
  118. ),
  119. 'locked' => 0,
  120. 'module' => 'list',
  121. 'settings' => array(
  122. 'allowed_values' => array(
  123. 0 => '',
  124. 1 => 'Publié sur la page d\'accueil',
  125. ),
  126. 'allowed_values_function' => '',
  127. ),
  128. 'translatable' => 0,
  129. 'type' => 'list_boolean',
  130. );
  131. // Exported field_base: 'field_popsu_actu_image'.
  132. $field_bases['field_popsu_actu_image'] = array(
  133. 'active' => 1,
  134. 'cardinality' => 1,
  135. 'deleted' => 0,
  136. 'entity_types' => array(),
  137. 'field_name' => 'field_popsu_actu_image',
  138. 'indexes' => array(
  139. 'fid' => array(
  140. 0 => 'fid',
  141. ),
  142. ),
  143. 'locked' => 0,
  144. 'module' => 'image',
  145. 'settings' => array(
  146. 'default_image' => 0,
  147. 'uri_scheme' => 'public',
  148. ),
  149. 'translatable' => 0,
  150. 'type' => 'image',
  151. );
  152. // Exported field_base: 'field_popsu_actu_soustitre'.
  153. $field_bases['field_popsu_actu_soustitre'] = array(
  154. 'active' => 1,
  155. 'cardinality' => 1,
  156. 'deleted' => 0,
  157. 'entity_types' => array(),
  158. 'field_name' => 'field_popsu_actu_soustitre',
  159. 'indexes' => array(
  160. 'format' => array(
  161. 0 => 'format',
  162. ),
  163. ),
  164. 'locked' => 0,
  165. 'module' => 'text',
  166. 'settings' => array(
  167. 'max_length' => 255,
  168. ),
  169. 'translatable' => 0,
  170. 'type' => 'text',
  171. );
  172. return $field_bases;
  173. }