materio_personal_notes.features.field_base.inc 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <?php
  2. /**
  3. * @file
  4. * materio_personal_notes.features.field_base.inc
  5. */
  6. /**
  7. * Implements hook_field_default_field_bases().
  8. */
  9. function materio_personal_notes_field_default_field_bases() {
  10. $field_bases = array();
  11. // Exported field_base: 'field_personal_note'.
  12. $field_bases['field_personal_note'] = array(
  13. 'active' => 1,
  14. 'cardinality' => 1,
  15. 'deleted' => 0,
  16. 'entity_types' => array(),
  17. 'field_name' => 'field_personal_note',
  18. 'field_permissions' => array(
  19. 'type' => 1,
  20. ),
  21. 'indexes' => array(
  22. 'format' => array(
  23. 0 => 'format',
  24. ),
  25. ),
  26. 'locked' => 0,
  27. 'module' => 'text',
  28. 'settings' => array(
  29. 'entity_translation_sync' => FALSE,
  30. 'profile2_private' => FALSE,
  31. ),
  32. 'translatable' => 0,
  33. 'type' => 'text_long',
  34. );
  35. // Exported field_base: 'field_target_content'.
  36. $field_bases['field_target_content'] = array(
  37. 'active' => 1,
  38. 'cardinality' => 1,
  39. 'deleted' => 0,
  40. 'entity_types' => array(),
  41. 'field_name' => 'field_target_content',
  42. 'field_permissions' => array(
  43. 'type' => 1,
  44. ),
  45. 'indexes' => array(
  46. 'target_id' => array(
  47. 0 => 'target_id',
  48. ),
  49. ),
  50. 'locked' => 0,
  51. 'module' => 'entityreference',
  52. 'settings' => array(
  53. 'entity_translation_sync' => FALSE,
  54. 'handler' => 'base',
  55. 'handler_settings' => array(
  56. 'behaviors' => array(
  57. 'views-select-list' => array(
  58. 'status' => 0,
  59. ),
  60. ),
  61. 'sort' => array(
  62. 'type' => 'none',
  63. ),
  64. 'target_bundles' => array(
  65. 'materiau' => 'materiau',
  66. ),
  67. ),
  68. 'profile2_private' => FALSE,
  69. 'target_type' => 'node',
  70. ),
  71. 'translatable' => 0,
  72. 'type' => 'entityreference',
  73. );
  74. return $field_bases;
  75. }