showroom.features.field_base.inc 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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: 'field_location'.
  12. $field_bases['field_location'] = array(
  13. 'active' => 1,
  14. 'cardinality' => -1,
  15. 'deleted' => 0,
  16. 'entity_types' => array(),
  17. 'field_name' => 'field_location',
  18. 'field_permissions' => array(
  19. 'type' => 2,
  20. ),
  21. 'indexes' => array(
  22. 'location' => array(
  23. 0 => 'location',
  24. ),
  25. ),
  26. 'locked' => 0,
  27. 'module' => 'materio_showroom',
  28. 'settings' => array(
  29. 'entity_translation_sync' => FALSE,
  30. 'profile2_private' => FALSE,
  31. ),
  32. 'translatable' => 0,
  33. 'type' => 'field_materio_showroom_location',
  34. );
  35. // Exported field_base: 'field_showroom'.
  36. $field_bases['field_showroom'] = array(
  37. 'active' => 1,
  38. 'cardinality' => 1,
  39. 'deleted' => 0,
  40. 'entity_types' => array(),
  41. 'field_name' => 'field_showroom',
  42. 'field_permissions' => array(
  43. 'type' => 2,
  44. ),
  45. 'indexes' => array(
  46. 'tid' => array(
  47. 0 => 'tid',
  48. ),
  49. ),
  50. 'locked' => 0,
  51. 'module' => 'taxonomy',
  52. 'settings' => array(
  53. 'allowed_values' => array(
  54. 0 => array(
  55. 'vocabulary' => 'showroom',
  56. 'parent' => 0,
  57. 'depth' => '',
  58. ),
  59. ),
  60. 'entity_translation_sync' => FALSE,
  61. 'options_list_callback' => 'content_taxonomy_allowed_values',
  62. 'profile2_private' => FALSE,
  63. ),
  64. 'translatable' => 0,
  65. 'type' => 'taxonomy_term_reference',
  66. );
  67. // Exported field_base: 'field_tode_showroom'.
  68. $field_bases['field_tode_showroom'] = array(
  69. 'active' => 1,
  70. 'cardinality' => 1,
  71. 'deleted' => 0,
  72. 'entity_types' => array(),
  73. 'field_name' => 'field_tode_showroom',
  74. 'field_permissions' => array(
  75. 'type' => 2,
  76. ),
  77. 'indexes' => array(
  78. 'tid' => array(
  79. 0 => 'tid',
  80. ),
  81. ),
  82. 'locked' => 0,
  83. 'module' => 'taxonomy',
  84. 'settings' => array(
  85. 'allowed_values' => array(
  86. 0 => array(
  87. 'vocabulary' => 'showroom',
  88. 'parent' => 0,
  89. 'depth' => '',
  90. ),
  91. ),
  92. 'entity_translation_sync' => FALSE,
  93. 'options_list_callback' => 'content_taxonomy_allowed_values',
  94. 'profile2_private' => FALSE,
  95. ),
  96. 'translatable' => 0,
  97. 'type' => 'taxonomy_term_reference',
  98. );
  99. return $field_bases;
  100. }