mailing.features.field_base.inc 905 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?php
  2. /**
  3. * @file
  4. * mailing.features.field_base.inc
  5. */
  6. /**
  7. * Implements hook_field_default_field_bases().
  8. */
  9. function mailing_field_default_field_bases() {
  10. $field_bases = array();
  11. // Exported field_base: 'field_simplenews_term'.
  12. $field_bases['field_simplenews_term'] = array(
  13. 'active' => 1,
  14. 'cardinality' => 1,
  15. 'deleted' => 0,
  16. 'entity_types' => array(),
  17. 'field_name' => 'field_simplenews_term',
  18. 'indexes' => array(
  19. 'tid' => array(
  20. 0 => 'tid',
  21. ),
  22. ),
  23. 'locked' => 0,
  24. 'module' => 'taxonomy',
  25. 'settings' => array(
  26. 'allowed_values' => array(
  27. 0 => array(
  28. 'parent' => 0,
  29. 'vocabulary' => 'newsletter',
  30. ),
  31. ),
  32. 'entity_translation_sync' => FALSE,
  33. 'options_list_callback' => NULL,
  34. ),
  35. 'translatable' => 0,
  36. 'type' => 'taxonomy_term_reference',
  37. );
  38. return $field_bases;
  39. }