materio_subscriptions.features.field_base.inc 4.0 KB

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