ffdn_article.features.field_base.inc 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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_images'.
  33. $field_bases['field_images'] = array(
  34. 'active' => 1,
  35. 'cardinality' => -1,
  36. 'deleted' => 0,
  37. 'entity_types' => array(),
  38. 'field_name' => 'field_images',
  39. 'indexes' => array(
  40. 'fid' => array(
  41. 0 => 'fid',
  42. ),
  43. ),
  44. 'locked' => 0,
  45. 'module' => 'image',
  46. 'settings' => array(
  47. 'default_image' => 0,
  48. 'uri_scheme' => 'public',
  49. ),
  50. 'translatable' => 0,
  51. 'type' => 'image',
  52. );
  53. // Exported field_base: 'field_tags'.
  54. $field_bases['field_tags'] = array(
  55. 'active' => 1,
  56. 'cardinality' => -1,
  57. 'deleted' => 0,
  58. 'entity_types' => array(),
  59. 'field_name' => 'field_tags',
  60. 'indexes' => array(
  61. 'tid' => array(
  62. 0 => 'tid',
  63. ),
  64. ),
  65. 'locked' => 0,
  66. 'module' => 'taxonomy',
  67. 'settings' => array(
  68. 'allowed_values' => array(
  69. 0 => array(
  70. 'vocabulary' => 'tags',
  71. 'parent' => 0,
  72. ),
  73. ),
  74. 'options_list_callback' => 'i18n_taxonomy_allowed_values',
  75. ),
  76. 'translatable' => 0,
  77. 'type' => 'taxonomy_term_reference',
  78. );
  79. return $field_bases;
  80. }