showroom.features.field_base.inc 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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_tode_showroom'.
  64. $field_bases['field_tode_showroom'] = array(
  65. 'active' => 1,
  66. 'cardinality' => 1,
  67. 'deleted' => 0,
  68. 'entity_types' => array(),
  69. 'field_name' => 'field_tode_showroom',
  70. 'field_permissions' => array(
  71. 'type' => 2,
  72. ),
  73. 'indexes' => array(
  74. 'tid' => array(
  75. 0 => 'tid',
  76. ),
  77. ),
  78. 'locked' => 0,
  79. 'module' => 'taxonomy',
  80. 'settings' => array(
  81. 'allowed_values' => array(
  82. 0 => array(
  83. 'vocabulary' => 'showroom',
  84. 'parent' => 0,
  85. 'depth' => '',
  86. ),
  87. ),
  88. 'entity_translation_sync' => FALSE,
  89. 'options_list_callback' => 'content_taxonomy_allowed_values',
  90. 'profile2_private' => FALSE,
  91. ),
  92. 'translatable' => 0,
  93. 'type' => 'taxonomy_term_reference',
  94. );
  95. return $field_bases;
  96. }