page.features.field_base.inc 751 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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. 'field_permissions' => array(
  21. 'type' => 0,
  22. ),
  23. 'indexes' => array(
  24. 'format' => array(
  25. 0 => 'format',
  26. ),
  27. ),
  28. 'locked' => 0,
  29. 'module' => 'text',
  30. 'settings' => array(
  31. 'entity_translation_sync' => FALSE,
  32. ),
  33. 'translatable' => 0,
  34. 'type' => 'text_with_summary',
  35. );
  36. return $field_bases;
  37. }