page.features.field_base.inc 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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. // Exported field_base: 'field_fichiers'
  43. $field_bases['field_fichiers'] = array(
  44. 'active' => 1,
  45. 'cardinality' => -1,
  46. 'deleted' => 0,
  47. 'entity_types' => array(),
  48. 'field_name' => 'field_fichiers',
  49. 'field_permissions' => array(
  50. 'type' => 0,
  51. ),
  52. 'foreign keys' => array(
  53. 'fid' => array(
  54. 'columns' => array(
  55. 'fid' => 'fid',
  56. ),
  57. 'table' => 'file_managed',
  58. ),
  59. ),
  60. 'indexes' => array(
  61. 'fid' => array(
  62. 0 => 'fid',
  63. ),
  64. ),
  65. 'locked' => 0,
  66. 'module' => 'file',
  67. 'settings' => array(
  68. 'display_default' => 0,
  69. 'display_field' => 0,
  70. 'uri_scheme' => 'public',
  71. ),
  72. 'translatable' => 0,
  73. 'type' => 'file',
  74. );
  75. return $field_bases;
  76. }