page.features.field_base.inc 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <?php
  2. /**
  3. * @file
  4. * page.features.field_base.inc
  5. */
  6. /**
  7. * Implements hook_field_default_field_bases().
  8. */
  9. function page_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. 'entity_translation_sync' => FALSE,
  29. ),
  30. 'translatable' => 0,
  31. 'type' => 'text_with_summary',
  32. );
  33. // Exported field_base: 'field_images'.
  34. $field_bases['field_images'] = array(
  35. 'active' => 1,
  36. 'cardinality' => -1,
  37. 'deleted' => 0,
  38. 'entity_types' => array(),
  39. 'field_name' => 'field_images',
  40. 'field_permissions' => array(
  41. 'type' => 0,
  42. ),
  43. 'indexes' => array(
  44. 'fid' => array(
  45. 0 => 'fid',
  46. ),
  47. ),
  48. 'locked' => 0,
  49. 'module' => 'image',
  50. 'settings' => array(
  51. 'default_image' => 0,
  52. 'entity_translation_sync' => array(
  53. 0 => 'fid',
  54. ),
  55. 'uri_scheme' => 'public',
  56. ),
  57. 'translatable' => 0,
  58. 'type' => 'image',
  59. );
  60. return $field_bases;
  61. }