materio_publications.features.field_base.inc 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. <?php
  2. /**
  3. * @file
  4. * materio_publications.features.field_base.inc
  5. */
  6. /**
  7. * Implements hook_field_default_field_bases().
  8. */
  9. function materio_publications_field_default_field_bases() {
  10. $field_bases = array();
  11. // Exported field_base: 'field_couverture'.
  12. $field_bases['field_couverture'] = array(
  13. 'active' => 1,
  14. 'cardinality' => 1,
  15. 'deleted' => 0,
  16. 'entity_types' => array(),
  17. 'field_name' => 'field_couverture',
  18. 'field_permissions' => array(
  19. 'type' => 0,
  20. ),
  21. 'indexes' => array(
  22. 'fid' => array(
  23. 0 => 'fid',
  24. ),
  25. ),
  26. 'locked' => 0,
  27. 'module' => 'image',
  28. 'settings' => array(
  29. 'default_image' => 0,
  30. 'entity_translation_sync' => array(
  31. 0 => 'fid',
  32. ),
  33. 'profile2_private' => FALSE,
  34. 'uri_scheme' => 'public',
  35. ),
  36. 'translatable' => 0,
  37. 'type' => 'image',
  38. );
  39. // Exported field_base: 'field_weight'.
  40. $field_bases['field_weight'] = array(
  41. 'active' => 1,
  42. 'cardinality' => 1,
  43. 'deleted' => 0,
  44. 'entity_types' => array(),
  45. 'field_name' => 'field_weight',
  46. 'field_permissions' => array(
  47. 'type' => 2,
  48. ),
  49. 'indexes' => array(
  50. 'value' => array(
  51. 0 => 'value',
  52. ),
  53. ),
  54. 'locked' => 0,
  55. 'module' => 'list',
  56. 'settings' => array(
  57. 'allowed_values' => array(
  58. -20 => -20,
  59. -19 => -19,
  60. -18 => -18,
  61. -17 => -17,
  62. -16 => -16,
  63. -15 => -15,
  64. -14 => -14,
  65. -13 => -13,
  66. -12 => -12,
  67. -11 => -11,
  68. -10 => -10,
  69. '-09' => '-09',
  70. '-08' => '-08',
  71. '-07' => '-07',
  72. '-06' => '-06',
  73. '-05' => '-05',
  74. '-04' => '-04',
  75. '-03' => '-03',
  76. '-02' => '-02',
  77. '-01' => '-01',
  78. '00' => '00',
  79. '01' => '01',
  80. '02' => '02',
  81. '03' => '03',
  82. '04' => '04',
  83. '05' => '05',
  84. '06' => '06',
  85. '07' => '07',
  86. '08' => '08',
  87. '09' => '09',
  88. 10 => 10,
  89. 11 => 11,
  90. 12 => 12,
  91. 13 => 13,
  92. 14 => 14,
  93. 15 => 15,
  94. 16 => 16,
  95. 17 => 17,
  96. 18 => 18,
  97. 19 => 19,
  98. 20 => 20,
  99. ),
  100. 'allowed_values_function' => '',
  101. 'entity_translation_sync' => FALSE,
  102. 'profile2_private' => FALSE,
  103. ),
  104. 'translatable' => 0,
  105. 'type' => 'list_integer',
  106. );
  107. return $field_bases;
  108. }