ffdn_article.features.field_base.inc 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <?php
  2. /**
  3. * @file
  4. * ffdn_article.features.field_base.inc
  5. */
  6. /**
  7. * Implements hook_field_default_field_bases().
  8. */
  9. function ffdn_article_field_default_field_bases() {
  10. $field_bases = array();
  11. // Exported field_base: 'field_image'.
  12. $field_bases['field_image'] = array(
  13. 'active' => 1,
  14. 'cardinality' => 1,
  15. 'deleted' => 0,
  16. 'entity_types' => array(),
  17. 'field_name' => 'field_image',
  18. 'indexes' => array(
  19. 'fid' => array(
  20. 0 => 'fid',
  21. ),
  22. ),
  23. 'locked' => 0,
  24. 'module' => 'image',
  25. 'settings' => array(
  26. 'default_image' => 0,
  27. 'uri_scheme' => 'public',
  28. ),
  29. 'translatable' => 0,
  30. 'type' => 'image',
  31. );
  32. // Exported field_base: 'field_tags'.
  33. $field_bases['field_tags'] = array(
  34. 'active' => 1,
  35. 'cardinality' => -1,
  36. 'deleted' => 0,
  37. 'entity_types' => array(),
  38. 'field_name' => 'field_tags',
  39. 'indexes' => array(
  40. 'tid' => array(
  41. 0 => 'tid',
  42. ),
  43. ),
  44. 'locked' => 0,
  45. 'module' => 'taxonomy',
  46. 'settings' => array(
  47. 'allowed_values' => array(
  48. 0 => array(
  49. 'vocabulary' => 'tags',
  50. 'parent' => 0,
  51. ),
  52. ),
  53. 'options_list_callback' => 'i18n_taxonomy_allowed_values',
  54. ),
  55. 'translatable' => 0,
  56. 'type' => 'taxonomy_term_reference',
  57. );
  58. return $field_bases;
  59. }