commited features for showroom release
This commit is contained in:
@@ -10,25 +10,29 @@
|
||||
function showroom_field_default_field_bases() {
|
||||
$field_bases = array();
|
||||
|
||||
// Exported field_base: 'description_field'.
|
||||
$field_bases['description_field'] = array(
|
||||
// Exported field_base: 'field_location'.
|
||||
$field_bases['field_location'] = array(
|
||||
'active' => 1,
|
||||
'cardinality' => 1,
|
||||
'cardinality' => -1,
|
||||
'deleted' => 0,
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'description_field',
|
||||
'field_name' => 'field_location',
|
||||
'field_permissions' => array(
|
||||
'type' => 2,
|
||||
),
|
||||
'indexes' => array(
|
||||
'format' => array(
|
||||
0 => 'format',
|
||||
'location' => array(
|
||||
0 => 'location',
|
||||
),
|
||||
),
|
||||
'locked' => 0,
|
||||
'module' => 'text',
|
||||
'module' => 'materio_showroom',
|
||||
'settings' => array(
|
||||
'entity_translation_sync' => FALSE,
|
||||
'profile2_private' => FALSE,
|
||||
),
|
||||
'translatable' => 1,
|
||||
'type' => 'text_with_summary',
|
||||
'translatable' => 0,
|
||||
'type' => 'field_materio_showroom_location',
|
||||
);
|
||||
|
||||
// Exported field_base: 'field_showroom'.
|
||||
@@ -64,96 +68,6 @@ 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,
|
||||
|
@@ -10,60 +10,65 @@
|
||||
function showroom_field_default_field_instances() {
|
||||
$field_instances = array();
|
||||
|
||||
// Exported field_instance:
|
||||
// 'field_collection_item-field_showroom_localisation-field_showroom_localisation_loca'.
|
||||
$field_instances['field_collection_item-field_showroom_localisation-field_showroom_localisation_loca'] = array(
|
||||
'bundle' => 'field_showroom_localisation',
|
||||
// Exported field_instance: 'node-breve-field_showroom'.
|
||||
$field_instances['node-breve-field_showroom'] = array(
|
||||
'bundle' => 'breve',
|
||||
'default_value' => NULL,
|
||||
'deleted' => 0,
|
||||
'description' => '',
|
||||
'display' => array(
|
||||
'default' => array(
|
||||
'label' => 'hidden',
|
||||
'module' => 'text',
|
||||
'bookmark' => array(
|
||||
'label' => 'above',
|
||||
'settings' => array(),
|
||||
'type' => 'text_default',
|
||||
'weight' => 1,
|
||||
'type' => 'hidden',
|
||||
'weight' => 0,
|
||||
),
|
||||
),
|
||||
'entity_type' => 'field_collection_item',
|
||||
'field_name' => 'field_showroom_localisation_loca',
|
||||
'label' => 'Localisation',
|
||||
'required' => 0,
|
||||
'settings' => array(
|
||||
'entity_translation_sync' => FALSE,
|
||||
'text_processing' => 0,
|
||||
'user_register_form' => FALSE,
|
||||
),
|
||||
'widget' => array(
|
||||
'active' => 1,
|
||||
'module' => 'text',
|
||||
'settings' => array(
|
||||
'size' => 60,
|
||||
'cardbig' => array(
|
||||
'label' => 'above',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 0,
|
||||
),
|
||||
'cardfull' => array(
|
||||
'label' => 'above',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 0,
|
||||
),
|
||||
'cardmedium' => array(
|
||||
'label' => 'above',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 0,
|
||||
),
|
||||
'cardsmall' => array(
|
||||
'label' => 'above',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 0,
|
||||
),
|
||||
'type' => 'text_textfield',
|
||||
'weight' => 32,
|
||||
),
|
||||
);
|
||||
|
||||
// Exported field_instance:
|
||||
// 'field_collection_item-field_showroom_localisation-field_showroom_localisation_show'.
|
||||
$field_instances['field_collection_item-field_showroom_localisation-field_showroom_localisation_show'] = array(
|
||||
'bundle' => 'field_showroom_localisation',
|
||||
'default_value' => NULL,
|
||||
'deleted' => 0,
|
||||
'description' => '[current-user:field-showroom:tid]',
|
||||
'display' => array(
|
||||
'default' => array(
|
||||
'label' => 'hidden',
|
||||
'label' => 'above',
|
||||
'module' => 'taxonomy',
|
||||
'settings' => array(),
|
||||
'type' => 'taxonomy_term_reference_plain',
|
||||
'type' => 'taxonomy_term_reference_link',
|
||||
'weight' => 12,
|
||||
),
|
||||
'homeblock' => array(
|
||||
'label' => 'above',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 0,
|
||||
),
|
||||
'teaser' => array(
|
||||
'label' => 'above',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 0,
|
||||
),
|
||||
),
|
||||
'entity_type' => 'field_collection_item',
|
||||
'field_name' => 'field_showroom_localisation_show',
|
||||
'entity_type' => 'node',
|
||||
'field_name' => 'field_showroom',
|
||||
'label' => 'Showroom',
|
||||
'required' => 0,
|
||||
'settings' => array(
|
||||
@@ -72,22 +77,20 @@ function showroom_field_default_field_instances() {
|
||||
),
|
||||
'widget' => array(
|
||||
'active' => 1,
|
||||
'module' => 'taxonomy',
|
||||
'module' => 'field_extrawidgets',
|
||||
'settings' => array(
|
||||
'autocomplete_path' => 'taxonomy/autocomplete',
|
||||
'content_taxonomy_autocomplete_new_terms' => 'allow',
|
||||
'display_empty' => 1,
|
||||
'formatter' => 'taxonomy_term_reference_link',
|
||||
'content_taxonomy_opt_groups' => 0,
|
||||
'display_empty' => 0,
|
||||
'formatter' => '',
|
||||
'formatter_settings' => array(),
|
||||
'size' => 60,
|
||||
),
|
||||
'type' => 'taxonomy_autocomplete',
|
||||
'weight' => 31,
|
||||
'type' => 'field_extrawidgets_read_only',
|
||||
'weight' => 4,
|
||||
),
|
||||
);
|
||||
|
||||
// Exported field_instance: 'node-materiau-field_showroom_localisation'.
|
||||
$field_instances['node-materiau-field_showroom_localisation'] = array(
|
||||
// Exported field_instance: 'node-materiau-field_location'.
|
||||
$field_instances['node-materiau-field_location'] = array(
|
||||
'bundle' => 'materiau',
|
||||
'default_value' => NULL,
|
||||
'deleted' => 0,
|
||||
@@ -113,16 +116,9 @@ function showroom_field_default_field_instances() {
|
||||
),
|
||||
'cardmedium' => array(
|
||||
'label' => 'above',
|
||||
'module' => 'field_collection',
|
||||
'settings' => array(
|
||||
'add' => '',
|
||||
'delete' => '',
|
||||
'description' => 1,
|
||||
'edit' => '',
|
||||
'view_mode' => 'full',
|
||||
),
|
||||
'type' => 'field_collection_view',
|
||||
'weight' => 9,
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 0,
|
||||
),
|
||||
'cardsmall' => array(
|
||||
'label' => 'above',
|
||||
@@ -132,15 +128,9 @@ function showroom_field_default_field_instances() {
|
||||
),
|
||||
'default' => array(
|
||||
'label' => 'above',
|
||||
'module' => 'field_collection',
|
||||
'settings' => array(
|
||||
'add' => 'Ajouter',
|
||||
'delete' => 'Supprimer',
|
||||
'description' => TRUE,
|
||||
'edit' => 'Modifier',
|
||||
'view_mode' => 'full',
|
||||
),
|
||||
'type' => 'field_collection_view',
|
||||
'module' => 'materio_showroom',
|
||||
'settings' => array(),
|
||||
'type' => 'materio_showroom_location_simple_text',
|
||||
'weight' => 25,
|
||||
),
|
||||
'homeblock' => array(
|
||||
@@ -163,19 +153,21 @@ function showroom_field_default_field_instances() {
|
||||
),
|
||||
),
|
||||
'entity_type' => 'node',
|
||||
'field_name' => 'field_showroom_localisation',
|
||||
'label' => 'showroom_localisation',
|
||||
'field_name' => 'field_location',
|
||||
'label' => 'Location',
|
||||
'required' => 0,
|
||||
'settings' => array(
|
||||
'entity_translation_sync' => FALSE,
|
||||
'user_register_form' => FALSE,
|
||||
),
|
||||
'widget' => array(
|
||||
'active' => 0,
|
||||
'module' => 'field_collection',
|
||||
'settings' => array(),
|
||||
'type' => 'field_collection_embed',
|
||||
'weight' => 5,
|
||||
'active' => 1,
|
||||
'module' => 'materio_showroom',
|
||||
'settings' => array(
|
||||
'vocabulary' => 19,
|
||||
),
|
||||
'type' => 'materio_showroom_location_text',
|
||||
'weight' => -2,
|
||||
),
|
||||
);
|
||||
|
||||
@@ -1269,13 +1261,11 @@ function showroom_field_default_field_instances() {
|
||||
t('Body');
|
||||
t('Description');
|
||||
t('Email');
|
||||
t('Localisation');
|
||||
t('Location');
|
||||
t('Mémo');
|
||||
t('Nom');
|
||||
t('Phone');
|
||||
t('Showroom');
|
||||
t('[current-user:field-showroom:tid]');
|
||||
t('showroom_localisation');
|
||||
|
||||
return $field_instances;
|
||||
}
|
||||
|
@@ -24,10 +24,11 @@ function showroom_menu_default_menu_links() {
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => 0,
|
||||
'customized' => 0,
|
||||
'weight' => -44,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 0,
|
||||
'menu_links_customized' => 1,
|
||||
'parent_identifier' => 'navigation_add-content:node/add',
|
||||
);
|
||||
|
||||
// Translatables
|
||||
|
@@ -10,9 +10,9 @@
|
||||
function showroom_user_default_permissions() {
|
||||
$permissions = array();
|
||||
|
||||
// Exported permission: 'assign Showroom role'.
|
||||
$permissions['assign Showroom role'] = array(
|
||||
'name' => 'assign Showroom role',
|
||||
// Exported permission: 'assign Admin showroom role'.
|
||||
$permissions['assign Admin showroom role'] = array(
|
||||
'name' => 'assign Admin showroom role',
|
||||
'roles' => array(
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
@@ -20,6 +20,17 @@ function showroom_user_default_permissions() {
|
||||
'module' => 'role_delegation',
|
||||
);
|
||||
|
||||
// Exported permission: 'create field_location'.
|
||||
$permissions['create field_location'] = array(
|
||||
'name' => 'create field_location',
|
||||
'roles' => array(
|
||||
'Admin showroom' => 'Admin showroom',
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'field_permissions',
|
||||
);
|
||||
|
||||
// Exported permission: 'create field_showroom'.
|
||||
$permissions['create field_showroom'] = array(
|
||||
'name' => 'create field_showroom',
|
||||
@@ -30,24 +41,6 @@ function showroom_user_default_permissions() {
|
||||
'module' => 'field_permissions',
|
||||
);
|
||||
|
||||
// Exported permission: 'create field_showroom_localisation'.
|
||||
$permissions['create field_showroom_localisation'] = array(
|
||||
'name' => 'create field_showroom_localisation',
|
||||
'roles' => array(
|
||||
'Showroom' => 'Showroom',
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'field_permissions',
|
||||
);
|
||||
|
||||
// Exported permission: 'create field_showroom_localisation_show'.
|
||||
$permissions['create field_showroom_localisation_show'] = array(
|
||||
'name' => 'create field_showroom_localisation_show',
|
||||
'roles' => array(),
|
||||
'module' => 'field_permissions',
|
||||
);
|
||||
|
||||
// Exported permission: 'create field_tode_showroom'.
|
||||
$permissions['create field_tode_showroom'] = array(
|
||||
'name' => 'create field_tode_showroom',
|
||||
@@ -117,6 +110,17 @@ function showroom_user_default_permissions() {
|
||||
'module' => 'node',
|
||||
);
|
||||
|
||||
// Exported permission: 'edit field_location'.
|
||||
$permissions['edit field_location'] = array(
|
||||
'name' => 'edit field_location',
|
||||
'roles' => array(
|
||||
'Admin showroom' => 'Admin showroom',
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'field_permissions',
|
||||
);
|
||||
|
||||
// Exported permission: 'edit field_showroom'.
|
||||
$permissions['edit field_showroom'] = array(
|
||||
'name' => 'edit field_showroom',
|
||||
@@ -127,23 +131,6 @@ function showroom_user_default_permissions() {
|
||||
'module' => 'field_permissions',
|
||||
);
|
||||
|
||||
// Exported permission: 'edit field_showroom_localisation'.
|
||||
$permissions['edit field_showroom_localisation'] = array(
|
||||
'name' => 'edit field_showroom_localisation',
|
||||
'roles' => array(
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'field_permissions',
|
||||
);
|
||||
|
||||
// Exported permission: 'edit field_showroom_localisation_show'.
|
||||
$permissions['edit field_showroom_localisation_show'] = array(
|
||||
'name' => 'edit field_showroom_localisation_show',
|
||||
'roles' => array(),
|
||||
'module' => 'field_permissions',
|
||||
);
|
||||
|
||||
// Exported permission: 'edit field_tode_showroom'.
|
||||
$permissions['edit field_tode_showroom'] = array(
|
||||
'name' => 'edit field_tode_showroom',
|
||||
@@ -154,6 +141,17 @@ function showroom_user_default_permissions() {
|
||||
'module' => 'field_permissions',
|
||||
);
|
||||
|
||||
// Exported permission: 'edit own field_location'.
|
||||
$permissions['edit own field_location'] = array(
|
||||
'name' => 'edit own field_location',
|
||||
'roles' => array(
|
||||
'Admin showroom' => 'Admin showroom',
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'field_permissions',
|
||||
);
|
||||
|
||||
// Exported permission: 'edit own field_showroom'.
|
||||
$permissions['edit own field_showroom'] = array(
|
||||
'name' => 'edit own field_showroom',
|
||||
@@ -164,23 +162,6 @@ function showroom_user_default_permissions() {
|
||||
'module' => 'field_permissions',
|
||||
);
|
||||
|
||||
// Exported permission: 'edit own field_showroom_localisation'.
|
||||
$permissions['edit own field_showroom_localisation'] = array(
|
||||
'name' => 'edit own field_showroom_localisation',
|
||||
'roles' => array(
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'field_permissions',
|
||||
);
|
||||
|
||||
// Exported permission: 'edit own field_showroom_localisation_show'.
|
||||
$permissions['edit own field_showroom_localisation_show'] = array(
|
||||
'name' => 'edit own field_showroom_localisation_show',
|
||||
'roles' => array(),
|
||||
'module' => 'field_permissions',
|
||||
);
|
||||
|
||||
// Exported permission: 'edit own field_tode_showroom'.
|
||||
$permissions['edit own field_tode_showroom'] = array(
|
||||
'name' => 'edit own field_tode_showroom',
|
||||
@@ -229,6 +210,13 @@ function showroom_user_default_permissions() {
|
||||
'module' => 'override_node_options',
|
||||
);
|
||||
|
||||
// Exported permission: 'materio showroom migrate fields'.
|
||||
$permissions['materio showroom migrate fields'] = array(
|
||||
'name' => 'materio showroom migrate fields',
|
||||
'roles' => array(),
|
||||
'module' => 'materio_showroom',
|
||||
);
|
||||
|
||||
// Exported permission: 'merge showroom terms'.
|
||||
$permissions['merge showroom terms'] = array(
|
||||
'name' => 'merge showroom terms',
|
||||
@@ -296,13 +284,28 @@ function showroom_user_default_permissions() {
|
||||
$permissions['show showroom title'] = array(
|
||||
'name' => 'show showroom title',
|
||||
'roles' => array(
|
||||
'Showroom' => 'Showroom',
|
||||
'Admin showroom' => 'Admin showroom',
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'materio_page_title',
|
||||
);
|
||||
|
||||
// Exported permission: 'view field_location'.
|
||||
$permissions['view field_location'] = array(
|
||||
'name' => 'view field_location',
|
||||
'roles' => array(
|
||||
'Adhérent' => 'Adhérent',
|
||||
'Admin showroom' => 'Admin showroom',
|
||||
'Premium' => 'Premium',
|
||||
'Student' => 'Student',
|
||||
'Utilisateur Alpha Tester' => 'Utilisateur Alpha Tester',
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'field_permissions',
|
||||
);
|
||||
|
||||
// Exported permission: 'view field_showroom'.
|
||||
$permissions['view field_showroom'] = array(
|
||||
'name' => 'view field_showroom',
|
||||
@@ -313,9 +316,9 @@ function showroom_user_default_permissions() {
|
||||
'module' => 'field_permissions',
|
||||
);
|
||||
|
||||
// Exported permission: 'view field_showroom_localisation'.
|
||||
$permissions['view field_showroom_localisation'] = array(
|
||||
'name' => 'view field_showroom_localisation',
|
||||
// Exported permission: 'view field_tode_showroom'.
|
||||
$permissions['view field_tode_showroom'] = array(
|
||||
'name' => 'view field_tode_showroom',
|
||||
'roles' => array(
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
@@ -323,20 +326,11 @@ function showroom_user_default_permissions() {
|
||||
'module' => 'field_permissions',
|
||||
);
|
||||
|
||||
// Exported permission: 'view field_showroom_localisation_show'.
|
||||
$permissions['view field_showroom_localisation_show'] = array(
|
||||
'name' => 'view field_showroom_localisation_show',
|
||||
'roles' => array(
|
||||
'anonymous user' => 'anonymous user',
|
||||
'authenticated user' => 'authenticated user',
|
||||
),
|
||||
'module' => 'field_permissions',
|
||||
);
|
||||
|
||||
// Exported permission: 'view field_tode_showroom'.
|
||||
$permissions['view field_tode_showroom'] = array(
|
||||
'name' => 'view field_tode_showroom',
|
||||
// Exported permission: 'view own field_location'.
|
||||
$permissions['view own field_location'] = array(
|
||||
'name' => 'view own field_location',
|
||||
'roles' => array(
|
||||
'Admin showroom' => 'Admin showroom',
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
@@ -353,24 +347,6 @@ function showroom_user_default_permissions() {
|
||||
'module' => 'field_permissions',
|
||||
);
|
||||
|
||||
// Exported permission: 'view own field_showroom_localisation'.
|
||||
$permissions['view own field_showroom_localisation'] = array(
|
||||
'name' => 'view own field_showroom_localisation',
|
||||
'roles' => array(
|
||||
'Showroom' => 'Showroom',
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'field_permissions',
|
||||
);
|
||||
|
||||
// Exported permission: 'view own field_showroom_localisation_show'.
|
||||
$permissions['view own field_showroom_localisation_show'] = array(
|
||||
'name' => 'view own field_showroom_localisation_show',
|
||||
'roles' => array(),
|
||||
'module' => 'field_permissions',
|
||||
);
|
||||
|
||||
// Exported permission: 'view own field_tode_showroom'.
|
||||
$permissions['view own field_tode_showroom'] = array(
|
||||
'name' => 'view own field_tode_showroom',
|
||||
|
@@ -10,10 +10,10 @@
|
||||
function showroom_user_default_roles() {
|
||||
$roles = array();
|
||||
|
||||
// Exported role: Showroom.
|
||||
$roles['Showroom'] = array(
|
||||
'name' => 'Showroom',
|
||||
'weight' => 13,
|
||||
// Exported role: Admin showroom.
|
||||
$roles['Admin showroom'] = array(
|
||||
'name' => 'Admin showroom',
|
||||
'weight' => 10,
|
||||
);
|
||||
|
||||
return $roles;
|
||||
|
@@ -24,7 +24,7 @@ function showroom_field_group_info() {
|
||||
'weight' => '17',
|
||||
'children' => array(
|
||||
0 => 'field_localisation',
|
||||
1 => 'field_showroom_localisation',
|
||||
1 => 'field_location',
|
||||
),
|
||||
'format_type' => 'htab',
|
||||
'format_settings' => array(
|
||||
@@ -38,42 +38,9 @@ function showroom_field_group_info() {
|
||||
);
|
||||
$field_groups['group_showroom|node|materiau|form'] = $field_group;
|
||||
|
||||
$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_side6|node|materiau|cardmedium';
|
||||
$field_group->group_name = 'group_side6';
|
||||
$field_group->entity_type = 'node';
|
||||
$field_group->bundle = 'materiau';
|
||||
$field_group->mode = 'cardmedium';
|
||||
$field_group->parent_name = '';
|
||||
$field_group->data = array(
|
||||
'label' => 'side 6',
|
||||
'weight' => '6',
|
||||
'children' => array(
|
||||
0 => 'field_showroom_localisation',
|
||||
),
|
||||
'format_type' => 'div',
|
||||
'format_settings' => array(
|
||||
'label' => 'side 6',
|
||||
'instance_settings' => array(
|
||||
'id' => '',
|
||||
'classes' => 'side group-side6 field-group-div',
|
||||
'description' => '',
|
||||
'show_label' => '0',
|
||||
'label_element' => 'h3',
|
||||
'effect' => 'none',
|
||||
'speed' => 'fast',
|
||||
),
|
||||
'formatter' => 'open',
|
||||
),
|
||||
);
|
||||
$field_groups['group_side6|node|materiau|cardmedium'] = $field_group;
|
||||
|
||||
// Translatables
|
||||
// Included for use with string extractors like potx.
|
||||
t('Showroom');
|
||||
t('side 6');
|
||||
|
||||
return $field_groups;
|
||||
}
|
||||
|
@@ -6,15 +6,16 @@ dependencies[] = administerusersbyrole
|
||||
dependencies[] = cck_phone
|
||||
dependencies[] = ctools
|
||||
dependencies[] = email
|
||||
dependencies[] = entity
|
||||
dependencies[] = features
|
||||
dependencies[] = field_collection
|
||||
dependencies[] = features_translations
|
||||
dependencies[] = field_extrawidgets
|
||||
dependencies[] = field_group
|
||||
dependencies[] = field_permissions
|
||||
dependencies[] = materio_content_types
|
||||
dependencies[] = materio_page_title
|
||||
dependencies[] = materio_showroom
|
||||
dependencies[] = materio_subscriptions
|
||||
dependencies[] = materio_user_profiles
|
||||
dependencies[] = menu
|
||||
dependencies[] = metatag
|
||||
dependencies[] = node
|
||||
@@ -30,17 +31,12 @@ dependencies[] = tode
|
||||
features[ctools][] = field_group:field_group:1
|
||||
features[ctools][] = strongarm:strongarm:1
|
||||
features[features_api][] = api:2
|
||||
features[field_base][] = description_field
|
||||
features[field_base][] = field_location
|
||||
features[field_base][] = field_showroom
|
||||
features[field_base][] = field_showroom_localisation
|
||||
features[field_base][] = field_showroom_localisation_loca
|
||||
features[field_base][] = field_showroom_localisation_show
|
||||
features[field_base][] = field_tode_showroom
|
||||
features[field_group][] = group_showroom|node|materiau|form
|
||||
features[field_group][] = group_side6|node|materiau|cardmedium
|
||||
features[field_instance][] = field_collection_item-field_showroom_localisation-field_showroom_localisation_loca
|
||||
features[field_instance][] = field_collection_item-field_showroom_localisation-field_showroom_localisation_show
|
||||
features[field_instance][] = node-materiau-field_showroom_localisation
|
||||
features[field_instance][] = node-breve-field_showroom
|
||||
features[field_instance][] = node-materiau-field_location
|
||||
features[field_instance][] = node-showroom-body
|
||||
features[field_instance][] = node-showroom-field_memo
|
||||
features[field_instance][] = node-showroom-field_public_address
|
||||
@@ -54,10 +50,9 @@ features[menu_links][] = navigation_showroom:node/add/showroom
|
||||
features[node][] = showroom
|
||||
features[rules_config][] = rules_auto_tag_news_with_showroom
|
||||
features[taxonomy][] = showroom
|
||||
features[user_permission][] = assign Showroom role
|
||||
features[user_permission][] = assign Admin showroom role
|
||||
features[user_permission][] = create field_location
|
||||
features[user_permission][] = create field_showroom
|
||||
features[user_permission][] = create field_showroom_localisation
|
||||
features[user_permission][] = create field_showroom_localisation_show
|
||||
features[user_permission][] = create field_tode_showroom
|
||||
features[user_permission][] = create showroom content
|
||||
features[user_permission][] = delete any showroom content
|
||||
@@ -65,18 +60,17 @@ features[user_permission][] = delete own showroom content
|
||||
features[user_permission][] = delete terms in showroom
|
||||
features[user_permission][] = delete users with role 13
|
||||
features[user_permission][] = edit any showroom content
|
||||
features[user_permission][] = edit field_location
|
||||
features[user_permission][] = edit field_showroom
|
||||
features[user_permission][] = edit field_showroom_localisation
|
||||
features[user_permission][] = edit field_showroom_localisation_show
|
||||
features[user_permission][] = edit field_tode_showroom
|
||||
features[user_permission][] = edit own field_location
|
||||
features[user_permission][] = edit own field_showroom
|
||||
features[user_permission][] = edit own field_showroom_localisation
|
||||
features[user_permission][] = edit own field_showroom_localisation_show
|
||||
features[user_permission][] = edit own field_tode_showroom
|
||||
features[user_permission][] = edit own showroom content
|
||||
features[user_permission][] = edit terms in showroom
|
||||
features[user_permission][] = edit users with role 13
|
||||
features[user_permission][] = enter showroom revision log entry
|
||||
features[user_permission][] = materio showroom migrate fields
|
||||
features[user_permission][] = merge showroom terms
|
||||
features[user_permission][] = override showroom authored by option
|
||||
features[user_permission][] = override showroom authored on option
|
||||
@@ -85,15 +79,13 @@ features[user_permission][] = override showroom published option
|
||||
features[user_permission][] = override showroom revision option
|
||||
features[user_permission][] = override showroom sticky option
|
||||
features[user_permission][] = show showroom title
|
||||
features[user_permission][] = view field_location
|
||||
features[user_permission][] = view field_showroom
|
||||
features[user_permission][] = view field_showroom_localisation
|
||||
features[user_permission][] = view field_showroom_localisation_show
|
||||
features[user_permission][] = view field_tode_showroom
|
||||
features[user_permission][] = view own field_location
|
||||
features[user_permission][] = view own field_showroom
|
||||
features[user_permission][] = view own field_showroom_localisation
|
||||
features[user_permission][] = view own field_showroom_localisation_show
|
||||
features[user_permission][] = view own field_tode_showroom
|
||||
features[user_role][] = Showroom
|
||||
features[user_role][] = Admin showroom
|
||||
features[variable][] = additional_settings__active_tab_showroom
|
||||
features[variable][] = ant_pattern_showroom
|
||||
features[variable][] = ant_php_showroom
|
||||
@@ -106,11 +98,16 @@ features[variable][] = diff_show_preview_changes_node_showroom
|
||||
features[variable][] = diff_view_mode_preview_node_showroom
|
||||
features[variable][] = entity_translation_hide_translation_links_showroom
|
||||
features[variable][] = entity_translation_node_metadata_showroom
|
||||
features[variable][] = field_bundle_settings_field_collection_item__field_showroom_localisation
|
||||
features[variable][] = entity_translation_settings_node__showroom
|
||||
features[variable][] = field_bundle_settings_node__showroom
|
||||
features[variable][] = i18n_node_extended_showroom
|
||||
features[variable][] = i18n_node_options_showroom
|
||||
features[variable][] = language_content_type_showroom
|
||||
features[variable][] = materio_showroom_migrate_default_term
|
||||
features[variable][] = materio_showroom_migrate_node_type
|
||||
features[variable][] = materio_showroom_migrate_source_field
|
||||
features[variable][] = materio_showroom_migrate_target_field
|
||||
features[variable][] = materio_showroom_migrate_vocabulary
|
||||
features[variable][] = menu_options_showroom
|
||||
features[variable][] = menu_parent_showroom
|
||||
features[variable][] = metatag_enable_node__showroom
|
||||
@@ -128,4 +125,32 @@ features[variable][] = unique_field_comp_showroom
|
||||
features[variable][] = unique_field_fields_showroom
|
||||
features[variable][] = unique_field_scope_showroom
|
||||
features[variable][] = unique_field_show_matches_showroom
|
||||
features[variable][] = workflow_showroom
|
||||
features_exclude[field_base][field_memo] = field_memo
|
||||
features_exclude[field_base][field_public_phone] = field_public_phone
|
||||
features_exclude[field_base][field_public_address] = field_public_address
|
||||
features_exclude[field_base][field_public_email] = field_public_email
|
||||
features_exclude[field_base][name_field] = name_field
|
||||
features_exclude[field_base][description_field] = description_field
|
||||
features_exclude[user_permission][create field_memo] = create field_memo
|
||||
features_exclude[user_permission][edit own field_memo] = edit own field_memo
|
||||
features_exclude[user_permission][edit field_memo] = edit field_memo
|
||||
features_exclude[user_permission][view own field_memo] = view own field_memo
|
||||
features_exclude[user_permission][view field_memo] = view field_memo
|
||||
features_exclude[user_permission][create field_public_phone] = create field_public_phone
|
||||
features_exclude[user_permission][edit own field_public_phone] = edit own field_public_phone
|
||||
features_exclude[user_permission][edit field_public_phone] = edit field_public_phone
|
||||
features_exclude[user_permission][view own field_public_phone] = view own field_public_phone
|
||||
features_exclude[user_permission][view field_public_phone] = view field_public_phone
|
||||
features_exclude[user_permission][create field_public_address] = create field_public_address
|
||||
features_exclude[user_permission][edit own field_public_address] = edit own field_public_address
|
||||
features_exclude[user_permission][edit field_public_address] = edit field_public_address
|
||||
features_exclude[user_permission][view own field_public_address] = view own field_public_address
|
||||
features_exclude[user_permission][view field_public_address] = view field_public_address
|
||||
features_exclude[user_permission][create field_public_email] = create field_public_email
|
||||
features_exclude[user_permission][edit own field_public_email] = edit own field_public_email
|
||||
features_exclude[user_permission][edit field_public_email] = edit field_public_email
|
||||
features_exclude[user_permission][view own field_public_email] = view own field_public_email
|
||||
features_exclude[user_permission][view field_public_email] = view field_public_email
|
||||
features_exclude[field_group][group_htabs|node|materiau|form] = group_htabs|node|materiau|form
|
||||
project path = sites/all/modules/features
|
||||
|
@@ -101,32 +101,15 @@ return t($items[0][\'name\']);
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'field_bundle_settings_field_collection_item__field_showroom_localisation';
|
||||
$strongarm->name = 'entity_translation_settings_node__showroom';
|
||||
$strongarm->value = array(
|
||||
'view_modes' => array(
|
||||
'full' => array(
|
||||
'custom_settings' => FALSE,
|
||||
),
|
||||
'diff_standard' => array(
|
||||
'custom_settings' => FALSE,
|
||||
),
|
||||
'print' => array(
|
||||
'custom_settings' => FALSE,
|
||||
),
|
||||
'token' => array(
|
||||
'custom_settings' => FALSE,
|
||||
),
|
||||
),
|
||||
'extra_fields' => array(
|
||||
'form' => array(
|
||||
'redirect' => array(
|
||||
'weight' => '30',
|
||||
),
|
||||
),
|
||||
'display' => array(),
|
||||
),
|
||||
'default_language' => 'und',
|
||||
'hide_language_selector' => 0,
|
||||
'exclude_language_none' => 0,
|
||||
'lock_language' => 0,
|
||||
'shared_fields_original_only' => 0,
|
||||
);
|
||||
$export['field_bundle_settings_field_collection_item__field_showroom_localisation'] = $strongarm;
|
||||
$export['entity_translation_settings_node__showroom'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
@@ -224,6 +207,41 @@ return t($items[0][\'name\']);
|
||||
$strongarm->value = '4';
|
||||
$export['language_content_type_showroom'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'materio_showroom_migrate_default_term';
|
||||
$strongarm->value = '7557';
|
||||
$export['materio_showroom_migrate_default_term'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'materio_showroom_migrate_node_type';
|
||||
$strongarm->value = 'materiau';
|
||||
$export['materio_showroom_migrate_node_type'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'materio_showroom_migrate_source_field';
|
||||
$strongarm->value = 'field_localisation';
|
||||
$export['materio_showroom_migrate_source_field'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'materio_showroom_migrate_target_field';
|
||||
$strongarm->value = 'field_location';
|
||||
$export['materio_showroom_migrate_target_field'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'materio_showroom_migrate_vocabulary';
|
||||
$strongarm->value = '19';
|
||||
$export['materio_showroom_migrate_vocabulary'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
@@ -417,5 +435,14 @@ return t($items[0][\'name\']);
|
||||
$strongarm->value = array();
|
||||
$export['unique_field_show_matches_showroom'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'workflow_showroom';
|
||||
$strongarm->value = array(
|
||||
0 => 'node',
|
||||
);
|
||||
$export['workflow_showroom'] = $strongarm;
|
||||
|
||||
return $export;
|
||||
}
|
||||
|
Reference in New Issue
Block a user