popsu_colloques.field_group.inc 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. <?php
  2. /**
  3. * @file
  4. * popsu_colloques.field_group.inc
  5. */
  6. /**
  7. * Implements hook_field_group_info().
  8. */
  9. function popsu_colloques_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_colloque_basic|node|popsu_colloque|form';
  15. $field_group->group_name = 'group_popsu_colloque_basic';
  16. $field_group->entity_type = 'node';
  17. $field_group->bundle = 'popsu_colloque';
  18. $field_group->mode = 'form';
  19. $field_group->parent_name = '';
  20. $field_group->data = array(
  21. 'label' => 'Informations essentielles',
  22. 'weight' => '2',
  23. 'children' => array(
  24. 0 => 'field_popsu_colloque_subtitle',
  25. 1 => 'field_popsu_colloque_subtitle2',
  26. 2 => 'title',
  27. ),
  28. 'format_type' => 'tab',
  29. 'format_settings' => array(
  30. 'formatter' => 'closed',
  31. 'instance_settings' => array(
  32. 'description' => '',
  33. 'classes' => '',
  34. 'required_fields' => 1,
  35. ),
  36. ),
  37. );
  38. $export['group_popsu_colloque_basic|node|popsu_colloque|form'] = $field_group;
  39. $field_group = new stdClass();
  40. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  41. $field_group->api_version = 1;
  42. $field_group->identifier = 'group_popsu_colloque_images|node|popsu_colloque|form';
  43. $field_group->group_name = 'group_popsu_colloque_images';
  44. $field_group->entity_type = 'node';
  45. $field_group->bundle = 'popsu_colloque';
  46. $field_group->mode = 'form';
  47. $field_group->parent_name = '';
  48. $field_group->data = array(
  49. 'label' => 'Images',
  50. 'weight' => '4',
  51. 'children' => array(
  52. 0 => 'field_popsu_colloque_imageintro',
  53. ),
  54. 'format_type' => 'tab',
  55. 'format_settings' => array(
  56. 'formatter' => 'closed',
  57. 'instance_settings' => array(
  58. 'description' => '',
  59. 'classes' => '',
  60. 'required_fields' => 1,
  61. ),
  62. ),
  63. );
  64. $export['group_popsu_colloque_images|node|popsu_colloque|form'] = $field_group;
  65. $field_group = new stdClass();
  66. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  67. $field_group->api_version = 1;
  68. $field_group->identifier = 'group_popsu_colloque_intro|node|popsu_colloque|form';
  69. $field_group->group_name = 'group_popsu_colloque_intro';
  70. $field_group->entity_type = 'node';
  71. $field_group->bundle = 'popsu_colloque';
  72. $field_group->mode = 'form';
  73. $field_group->parent_name = '';
  74. $field_group->data = array(
  75. 'label' => 'Introduction',
  76. 'weight' => '3',
  77. 'children' => array(
  78. 0 => 'field_popsu_colloque_body',
  79. ),
  80. 'format_type' => 'tab',
  81. 'format_settings' => array(
  82. 'formatter' => 'closed',
  83. 'instance_settings' => array(
  84. 'description' => '',
  85. 'classes' => '',
  86. 'required_fields' => 1,
  87. ),
  88. ),
  89. );
  90. $export['group_popsu_colloque_intro|node|popsu_colloque|form'] = $field_group;
  91. return $export;
  92. }