created page/panel onepage home

This commit is contained in:
Bachir Soussi Chiadmi
2017-01-22 19:42:04 +01:00
parent a0fadb0757
commit b9ce53c6a2
9 changed files with 1528 additions and 104 deletions
@@ -8,7 +8,35 @@
* Implements hook_field_group_info().
*/
function clameurs_field_group_info() {
$export = array();
$field_groups = array();
$field_group = new stdClass();
$field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
$field_group->api_version = 1;
$field_group->identifier = 'group_eclairage|node|thematique|form';
$field_group->group_name = 'group_eclairage';
$field_group->entity_type = 'node';
$field_group->bundle = 'thematique';
$field_group->mode = 'form';
$field_group->parent_name = 'group_htabs';
$field_group->data = array(
'label' => 'Éclairages',
'weight' => '10',
'children' => array(
0 => 'field_eclairages',
),
'format_type' => 'htab',
'format_settings' => array(
'label' => 'Éclairages',
'instance_settings' => array(
'required_fields' => 1,
'classes' => 'group-eclairage field-group-htab',
'description' => '',
),
'formatter' => 'closed',
),
);
$field_groups[''] = $field_group;
$field_group = new stdClass();
$field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
@@ -36,7 +64,7 @@ function clameurs_field_group_info() {
),
),
);
$export['group_episodes|node|thematique|form'] = $field_group;
$field_groups[''] = $field_group;
$field_group = new stdClass();
$field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
@@ -62,7 +90,7 @@ function clameurs_field_group_info() {
),
),
);
$export['group_htabs|node|documentair|form'] = $field_group;
$field_groups[''] = $field_group;
$field_group = new stdClass();
$field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
@@ -88,7 +116,7 @@ function clameurs_field_group_info() {
),
),
);
$export['group_htabs|node|episode|form'] = $field_group;
$field_groups[''] = $field_group;
$field_group = new stdClass();
$field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
@@ -106,6 +134,7 @@ function clameurs_field_group_info() {
0 => 'group_video',
1 => 'group_texte',
2 => 'group_episodes',
3 => 'group_eclairage',
),
'format_type' => 'htabs',
'format_settings' => array(
@@ -115,7 +144,7 @@ function clameurs_field_group_info() {
),
),
);
$export['group_htabs|node|thematique|form'] = $field_group;
$field_groups[''] = $field_group;
$field_group = new stdClass();
$field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
@@ -143,7 +172,7 @@ function clameurs_field_group_info() {
),
),
);
$export['group_texte|node|documentair|form'] = $field_group;
$field_groups[''] = $field_group;
$field_group = new stdClass();
$field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
@@ -171,7 +200,7 @@ function clameurs_field_group_info() {
),
),
);
$export['group_texte|node|episode|form'] = $field_group;
$field_groups[''] = $field_group;
$field_group = new stdClass();
$field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
@@ -198,7 +227,7 @@ function clameurs_field_group_info() {
),
),
);
$export['group_texte|node|thematique|form'] = $field_group;
$field_groups[''] = $field_group;
$field_group = new stdClass();
$field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
@@ -227,7 +256,7 @@ function clameurs_field_group_info() {
),
),
);
$export['group_video|node|documentair|form'] = $field_group;
$field_groups[''] = $field_group;
$field_group = new stdClass();
$field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
@@ -256,7 +285,7 @@ function clameurs_field_group_info() {
),
),
);
$export['group_video|node|episode|form'] = $field_group;
$field_groups[''] = $field_group;
$field_group = new stdClass();
$field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
@@ -285,7 +314,15 @@ function clameurs_field_group_info() {
),
),
);
$export['group_video|node|thematique|form'] = $field_group;
$field_groups[''] = $field_group;
return $export;
// Translatables
// Included for use with string extractors like potx.
t('Texte');
t('Video');
t('htabs');
t('Éclairages');
t('Épisodes');
return $field_groups;
}