ffdn_press.features.field_base.inc 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <?php
  2. /**
  3. * @file
  4. * ffdn_press.features.field_base.inc
  5. */
  6. /**
  7. * Implements hook_field_default_field_bases().
  8. */
  9. function ffdn_press_field_default_field_bases() {
  10. $field_bases = array();
  11. // Exported field_base: 'field_tags_press_review'.
  12. $field_bases['field_tags_press_review'] = array(
  13. 'active' => 1,
  14. 'cardinality' => -1,
  15. 'deleted' => 0,
  16. 'entity_types' => array(),
  17. 'field_name' => 'field_tags_press_review',
  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. 'vocabulary' => 'tags_press_review',
  29. 'parent' => 0,
  30. ),
  31. ),
  32. 'options_list_callback' => 'i18n_taxonomy_allowed_values',
  33. ),
  34. 'translatable' => 0,
  35. 'type' => 'taxonomy_term_reference',
  36. );
  37. // Exported field_base: 'field_url'.
  38. $field_bases['field_url'] = array(
  39. 'active' => 1,
  40. 'cardinality' => 1,
  41. 'deleted' => 0,
  42. 'entity_types' => array(),
  43. 'field_name' => 'field_url',
  44. 'indexes' => array(),
  45. 'locked' => 0,
  46. 'module' => 'link',
  47. 'settings' => array(
  48. 'attributes' => array(
  49. 'class' => '',
  50. 'rel' => '',
  51. 'target' => 'default',
  52. ),
  53. 'display' => array(
  54. 'url_cutoff' => 80,
  55. ),
  56. 'enable_tokens' => 1,
  57. 'title' => 'optional',
  58. 'title_maxlength' => 128,
  59. 'title_value' => '',
  60. 'url' => 0,
  61. ),
  62. 'translatable' => 0,
  63. 'type' => 'link_field',
  64. );
  65. return $field_bases;
  66. }