page.features.field_base.inc 880 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. 'foreign keys' => array(
  24. 'format' => array(
  25. 'columns' => array(
  26. 'format' => 'format',
  27. ),
  28. 'table' => 'filter_format',
  29. ),
  30. ),
  31. 'indexes' => array(
  32. 'format' => array(
  33. 0 => 'format',
  34. ),
  35. ),
  36. 'locked' => 0,
  37. 'module' => 'text',
  38. 'settings' => array(),
  39. 'translatable' => 0,
  40. 'type' => 'text_with_summary',
  41. );
  42. return $field_bases;
  43. }