updated features : created showroom_localisation field. Perms with showroom role are still failing

This commit is contained in:
Bachir Soussi Chiadmi
2016-11-21 19:39:50 +01:00
parent 039f49aded
commit 091c01ce81
21 changed files with 843 additions and 170 deletions

View File

@@ -64,6 +64,96 @@ function showroom_field_default_field_bases() {
'type' => 'taxonomy_term_reference',
);
// Exported field_base: 'field_showroom_localisation'.
$field_bases['field_showroom_localisation'] = array(
'active' => 1,
'cardinality' => -1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_showroom_localisation',
'field_permissions' => array(
'type' => 2,
),
'indexes' => array(
'revision_id' => array(
0 => 'revision_id',
),
'value' => array(
0 => 'value',
),
),
'locked' => 0,
'module' => 'field_collection',
'settings' => array(
'entity_translation_sync' => FALSE,
'hide_blank_items' => 1,
'hide_initial_item' => 0,
'path' => '',
'profile2_private' => FALSE,
),
'translatable' => 0,
'type' => 'field_collection',
);
// Exported field_base: 'field_showroom_localisation_loca'.
$field_bases['field_showroom_localisation_loca'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_showroom_localisation_loca',
'field_permissions' => array(
'type' => 2,
),
'indexes' => array(
'format' => array(
0 => 'format',
),
),
'locked' => 0,
'module' => 'text',
'settings' => array(
'entity_translation_sync' => FALSE,
'max_length' => 255,
'profile2_private' => FALSE,
),
'translatable' => 0,
'type' => 'text',
);
// Exported field_base: 'field_showroom_localisation_show'.
$field_bases['field_showroom_localisation_show'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_showroom_localisation_show',
'field_permissions' => array(
'type' => 2,
),
'indexes' => array(
'tid' => array(
0 => 'tid',
),
),
'locked' => 0,
'module' => 'taxonomy',
'settings' => array(
'allowed_values' => array(
0 => array(
'vocabulary' => 'showroom',
'parent' => 0,
'depth' => '',
),
),
'entity_translation_sync' => FALSE,
'options_list_callback' => 'content_taxonomy_allowed_values',
'profile2_private' => FALSE,
),
'translatable' => 0,
'type' => 'taxonomy_term_reference',
);
// Exported field_base: 'field_tode_showroom'.
$field_bases['field_tode_showroom'] = array(
'active' => 1,