48 lines
1.3 KiB
PHP
48 lines
1.3 KiB
PHP
<?php
|
|
/**
|
|
* @file
|
|
* showroom.field_group.inc
|
|
*/
|
|
|
|
/**
|
|
* Implements hook_field_group_info().
|
|
*/
|
|
function showroom_field_group_info() {
|
|
$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_showroom|node|materiau|form';
|
|
$field_group->group_name = 'group_showroom';
|
|
$field_group->entity_type = 'node';
|
|
$field_group->bundle = 'materiau';
|
|
$field_group->mode = 'form';
|
|
$field_group->parent_name = 'group_htabs';
|
|
$field_group->data = array(
|
|
'label' => 'Showroom Samples',
|
|
'weight' => '17',
|
|
'children' => array(
|
|
0 => 'field_localisation',
|
|
1 => 'field_location',
|
|
),
|
|
'format_type' => 'htab',
|
|
'format_settings' => array(
|
|
'label' => 'Showroom Samples',
|
|
'instance_settings' => array(
|
|
'required_fields' => 1,
|
|
'classes' => 'group-showroom field-group-htab',
|
|
'description' => '',
|
|
),
|
|
'formatter' => 'closed',
|
|
),
|
|
);
|
|
$field_groups['group_showroom|node|materiau|form'] = $field_group;
|
|
|
|
// Translatables
|
|
// Included for use with string extractors like potx.
|
|
t('Showroom Samples');
|
|
|
|
return $field_groups;
|
|
}
|