ffdn_common.features.field_base.inc 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <?php
  2. /**
  3. * @file
  4. * ffdn_common.features.field_base.inc
  5. */
  6. /**
  7. * Implements hook_field_default_field_bases().
  8. */
  9. function ffdn_common_field_default_field_bases() {
  10. $field_bases = array();
  11. // Exported field_base: 'body'.
  12. $field_bases['body'] = array(
  13. 'active' => 1,
  14. 'cardinality' => 1,
  15. 'deleted' => 0,
  16. 'entity_types' => array(
  17. 0 => 'node',
  18. ),
  19. 'field_name' => 'body',
  20. 'indexes' => array(
  21. 'format' => array(
  22. 0 => 'format',
  23. ),
  24. ),
  25. 'locked' => 0,
  26. 'module' => 'text',
  27. 'settings' => array(),
  28. 'translatable' => 0,
  29. 'type' => 'text_with_summary',
  30. );
  31. // Exported field_base: 'comment_body'.
  32. $field_bases['comment_body'] = array(
  33. 'active' => 1,
  34. 'cardinality' => 1,
  35. 'deleted' => 0,
  36. 'entity_types' => array(
  37. 0 => 'comment',
  38. ),
  39. 'field_name' => 'comment_body',
  40. 'indexes' => array(
  41. 'format' => array(
  42. 0 => 'format',
  43. ),
  44. ),
  45. 'locked' => 0,
  46. 'module' => 'text',
  47. 'settings' => array(),
  48. 'translatable' => 0,
  49. 'type' => 'text_long',
  50. );
  51. // Exported field_base: 'field_attachment'.
  52. $field_bases['field_attachment'] = array(
  53. 'active' => 1,
  54. 'cardinality' => -1,
  55. 'deleted' => 0,
  56. 'entity_types' => array(),
  57. 'field_name' => 'field_attachment',
  58. 'indexes' => array(
  59. 'fid' => array(
  60. 0 => 'fid',
  61. ),
  62. ),
  63. 'locked' => 0,
  64. 'module' => 'file',
  65. 'settings' => array(
  66. 'display_default' => 0,
  67. 'display_field' => 0,
  68. 'uri_scheme' => 'public',
  69. ),
  70. 'translatable' => 0,
  71. 'type' => 'file',
  72. );
  73. return $field_bases;
  74. }