popsu_actualites.field_group.inc 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. <?php
  2. /**
  3. * @file
  4. * popsu_actualites.field_group.inc
  5. */
  6. /**
  7. * Implements hook_field_group_info().
  8. */
  9. function popsu_actualites_field_group_info() {
  10. $export = array();
  11. $field_group = new stdClass();
  12. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  13. $field_group->api_version = 1;
  14. $field_group->identifier = 'group_popsu_actu_basic|node|popsu_actu|form';
  15. $field_group->group_name = 'group_popsu_actu_basic';
  16. $field_group->entity_type = 'node';
  17. $field_group->bundle = 'popsu_actu';
  18. $field_group->mode = 'form';
  19. $field_group->parent_name = '';
  20. $field_group->data = array(
  21. 'label' => 'Informations essentielles',
  22. 'weight' => '0',
  23. 'children' => array(
  24. 0 => 'field_popsu_actu_date',
  25. 1 => 'field_popsu_actu_soustitre',
  26. 2 => 'field_popsu_actu_date_fin',
  27. 3 => 'field_popsu_actu_enhome',
  28. 4 => 'title',
  29. ),
  30. 'format_type' => 'tab',
  31. 'format_settings' => array(
  32. 'formatter' => 'closed',
  33. 'instance_settings' => array(
  34. 'description' => '',
  35. 'classes' => '',
  36. 'required_fields' => 1,
  37. ),
  38. ),
  39. );
  40. $export['group_popsu_actu_basic|node|popsu_actu|form'] = $field_group;
  41. $field_group = new stdClass();
  42. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  43. $field_group->api_version = 1;
  44. $field_group->identifier = 'group_popsu_actu_image|node|popsu_actu|form';
  45. $field_group->group_name = 'group_popsu_actu_image';
  46. $field_group->entity_type = 'node';
  47. $field_group->bundle = 'popsu_actu';
  48. $field_group->mode = 'form';
  49. $field_group->parent_name = '';
  50. $field_group->data = array(
  51. 'label' => 'Image',
  52. 'weight' => '4',
  53. 'children' => array(
  54. 0 => 'field_popsu_actu_image',
  55. ),
  56. 'format_type' => 'tab',
  57. 'format_settings' => array(
  58. 'formatter' => 'closed',
  59. 'instance_settings' => array(
  60. 'description' => '',
  61. 'classes' => '',
  62. 'required_fields' => 1,
  63. ),
  64. ),
  65. );
  66. $export['group_popsu_actu_image|node|popsu_actu|form'] = $field_group;
  67. $field_group = new stdClass();
  68. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  69. $field_group->api_version = 1;
  70. $field_group->identifier = 'group_popsu_actu_texte|node|popsu_actu|form';
  71. $field_group->group_name = 'group_popsu_actu_texte';
  72. $field_group->entity_type = 'node';
  73. $field_group->bundle = 'popsu_actu';
  74. $field_group->mode = 'form';
  75. $field_group->parent_name = '';
  76. $field_group->data = array(
  77. 'label' => 'Texte',
  78. 'weight' => '1',
  79. 'children' => array(
  80. 0 => 'field_popsu_actu_body',
  81. ),
  82. 'format_type' => 'tab',
  83. 'format_settings' => array(
  84. 'formatter' => 'closed',
  85. 'instance_settings' => array(
  86. 'description' => '',
  87. 'classes' => '',
  88. 'required_fields' => 1,
  89. ),
  90. ),
  91. );
  92. $export['group_popsu_actu_texte|node|popsu_actu|form'] = $field_group;
  93. return $export;
  94. }