materio_subscriptions.features.field_base.inc 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  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. 'indexes' => array(
  24. 'format' => array(
  25. 0 => 'format',
  26. ),
  27. ),
  28. 'locked' => 0,
  29. 'module' => 'text',
  30. 'settings' => array(
  31. 'entity_translation_sync' => FALSE,
  32. 'profile2_private' => FALSE,
  33. ),
  34. 'translatable' => 1,
  35. 'type' => 'text_with_summary',
  36. );
  37. // Exported field_base: 'synonyms_synonym'
  38. $field_bases['synonyms_synonym'] = array(
  39. 'active' => 1,
  40. 'cardinality' => -1,
  41. 'deleted' => 0,
  42. 'entity_types' => array(),
  43. 'field_name' => 'synonyms_synonym',
  44. 'field_permissions' => array(
  45. 'type' => 0,
  46. ),
  47. 'indexes' => array(
  48. 'format' => array(
  49. 0 => 'format',
  50. ),
  51. ),
  52. 'locked' => 0,
  53. 'module' => 'text',
  54. 'settings' => array(
  55. 'entity_translation_sync' => FALSE,
  56. 'max_length' => 255,
  57. 'profile2_private' => FALSE,
  58. ),
  59. 'translatable' => 1,
  60. 'type' => 'text',
  61. );
  62. // Exported field_base: 'taxonomy_catalog'
  63. $field_bases['taxonomy_catalog'] = array(
  64. 'active' => 1,
  65. 'cardinality' => -1,
  66. 'deleted' => 0,
  67. 'entity_types' => array(),
  68. 'field_name' => 'taxonomy_catalog',
  69. 'indexes' => array(
  70. 'tid' => array(
  71. 0 => 'tid',
  72. ),
  73. ),
  74. 'locked' => 0,
  75. 'module' => 'taxonomy',
  76. 'settings' => array(
  77. 'allowed_values' => array(
  78. 0 => array(
  79. 'vocabulary' => 'catalog',
  80. 'parent' => 0,
  81. ),
  82. ),
  83. 'entity_translation_sync' => FALSE,
  84. 'options_list_callback' => 'i18n_taxonomy_allowed_values',
  85. ),
  86. 'translatable' => 0,
  87. 'type' => 'taxonomy_term_reference',
  88. );
  89. // Exported field_base: 'uc_catalog_image'
  90. $field_bases['uc_catalog_image'] = array(
  91. 'active' => 1,
  92. 'cardinality' => 1,
  93. 'deleted' => 0,
  94. 'entity_types' => array(),
  95. 'field_name' => 'uc_catalog_image',
  96. 'indexes' => array(
  97. 'fid' => array(
  98. 0 => 'fid',
  99. ),
  100. ),
  101. 'locked' => 0,
  102. 'module' => 'image',
  103. 'settings' => array(
  104. 'default_image' => 0,
  105. 'entity_translation_sync' => array(
  106. 0 => 'fid',
  107. ),
  108. 'uri_scheme' => 'public',
  109. ),
  110. 'translatable' => 0,
  111. 'type' => 'image',
  112. );
  113. // Exported field_base: 'uc_product_image'
  114. $field_bases['uc_product_image'] = array(
  115. 'active' => 1,
  116. 'cardinality' => -1,
  117. 'deleted' => 0,
  118. 'entity_types' => array(),
  119. 'field_name' => 'uc_product_image',
  120. 'indexes' => array(
  121. 'fid' => array(
  122. 0 => 'fid',
  123. ),
  124. ),
  125. 'locked' => 0,
  126. 'module' => 'image',
  127. 'settings' => array(
  128. 'default_image' => 0,
  129. 'entity_translation_sync' => array(
  130. 0 => 'fid',
  131. ),
  132. 'uri_scheme' => 'public',
  133. ),
  134. 'translatable' => 0,
  135. 'type' => 'image',
  136. );
  137. return $field_bases;
  138. }