fgcf.features.fieldgroup.inc 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. <?php
  2. /**
  3. * Implementation of hook_fieldgroup_default_groups().
  4. */
  5. function fgcf_fieldgroup_default_groups() {
  6. $groups = array();
  7. // Exported group: group_fgcf_fiche_meta
  8. $groups[] = array(
  9. 'group_type' => 'standard',
  10. 'type_name' => 'fgcf_fiche',
  11. 'group_name' => 'group_fgcf_fiche_meta',
  12. 'label' => 'Méta',
  13. 'settings' => array(
  14. 'form' => array(
  15. 'style' => 'fieldset',
  16. 'description' => '',
  17. ),
  18. 'display' => array(
  19. 'weight' => '2',
  20. 'label' => 'above',
  21. 'teaser' => array(
  22. 'format' => 'fieldset',
  23. 'exclude' => 0,
  24. ),
  25. 'full' => array(
  26. 'format' => 'fieldset',
  27. 'exclude' => 0,
  28. ),
  29. 'description' => '',
  30. '4' => array(
  31. 'format' => 'fieldset',
  32. 'exclude' => 0,
  33. ),
  34. '2' => array(
  35. 'format' => 'fieldset',
  36. 'exclude' => 0,
  37. ),
  38. '3' => array(
  39. 'format' => 'fieldset',
  40. 'exclude' => 0,
  41. ),
  42. 'token' => array(
  43. 'format' => 'fieldset',
  44. 'exclude' => 0,
  45. ),
  46. ),
  47. ),
  48. 'weight' => '2',
  49. 'fields' => array(
  50. '0' => 'field_fgcf_fiche_organisme',
  51. '1' => 'field_fgcf_fiche_modalite',
  52. '2' => 'field_fgcf_fiche_dif',
  53. '3' => 'field_fgcf_fiche_heures',
  54. '4' => 'field_fgcf_fiche_jours',
  55. '5' => 'field_fgcf_fiche_format',
  56. '6' => 'field_fgcf_fiche_supports',
  57. '7' => 'field_fgcf_fiche_sanction',
  58. '8' => 'field_fgcf_fiche_public',
  59. ),
  60. );
  61. // Exported group: group_prestataire_branding
  62. $groups[] = array(
  63. 'group_type' => 'standard',
  64. 'type_name' => 'fgcf_prestataire',
  65. 'group_name' => 'group_prestataire_branding',
  66. 'label' => 'Branding',
  67. 'settings' => array(
  68. 'form' => array(
  69. 'style' => 'fieldset',
  70. 'description' => '',
  71. ),
  72. 'display' => array(
  73. 'weight' => '-2',
  74. 'label' => 'hidden',
  75. 'teaser' => array(
  76. 'format' => 'fieldset',
  77. 'exclude' => 0,
  78. ),
  79. 'full' => array(
  80. 'format' => 'fieldset',
  81. 'exclude' => 0,
  82. ),
  83. 'description' => '',
  84. '4' => array(
  85. 'format' => 'fieldset',
  86. 'exclude' => 0,
  87. ),
  88. '2' => array(
  89. 'format' => 'fieldset',
  90. 'exclude' => 0,
  91. ),
  92. '3' => array(
  93. 'format' => 'fieldset',
  94. 'exclude' => 0,
  95. ),
  96. 'token' => array(
  97. 'format' => 'fieldset',
  98. 'exclude' => 0,
  99. ),
  100. ),
  101. ),
  102. 'weight' => '-2',
  103. 'fields' => array(
  104. '0' => 'field_fgcf_prestataire_logo',
  105. '1' => 'field_fgcf_prestataire_link',
  106. ),
  107. );
  108. // Translatables
  109. array(
  110. t('Branding'),
  111. t('Méta'),
  112. );
  113. return $groups;
  114. }