showroom.features.field_base.inc 4.6 KB

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