added profiles on user view & edit pages

This commit is contained in:
Bachir Soussi Chiadmi 2022-03-09 10:33:31 +01:00
parent c00e0d8157
commit ff67a2a72c
12 changed files with 95 additions and 34 deletions

View File

@ -1,6 +1,6 @@
uuid: 4c2a2713-7fd0-4b0a-ab12-0e23ac5f266d uuid: 4c2a2713-7fd0-4b0a-ab12-0e23ac5f266d
langcode: fr langcode: fr
status: true status: false
dependencies: dependencies:
config: config:
- system.menu.footer - system.menu.footer

View File

@ -10,6 +10,7 @@ dependencies:
module: module:
- address - address
- commerce_tax - commerce_tax
- telephone
enforced: enforced:
module: module:
- commerce_order - commerce_order
@ -26,6 +27,13 @@ content:
region: content region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
phone:
type: telephone_default
weight: 2
region: content
settings:
placeholder: ''
third_party_settings: { }
tax_number: tax_number:
type: commerce_tax_number_default type: commerce_tax_number_default
weight: 1 weight: 1
@ -34,4 +42,3 @@ content:
third_party_settings: { } third_party_settings: { }
hidden: hidden:
is_default: true is_default: true
phone: true

View File

@ -10,6 +10,7 @@ dependencies:
- field.field.user.user.field_showroom - field.field.user.user.field_showroom
module: module:
- path - path
- profile
- user - user
id: user.user.default id: user.user.default
targetEntityType: user targetEntityType: user
@ -21,6 +22,20 @@ content:
region: content region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
contact_company_profiles:
type: profile_form
weight: 8
region: content
settings:
form_mode: default
third_party_settings: { }
customer_profiles:
type: profile_form
weight: 7
region: content
settings:
form_mode: default
third_party_settings: { }
field_company: field_company:
type: entity_reference_autocomplete type: entity_reference_autocomplete
weight: 1 weight: 1
@ -56,7 +71,7 @@ content:
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
language: language:
weight: 6 weight: 9
region: content region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
@ -65,9 +80,16 @@ content:
region: content region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
member_profiles:
type: profile_form
weight: 6
region: content
settings:
form_mode: default
third_party_settings: { }
path: path:
type: path type: path
weight: 8 weight: 11
region: content region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
@ -77,15 +99,12 @@ content:
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
timezone: timezone:
weight: 7 weight: 10
region: content region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
hidden: hidden:
commerce_remote_id: true commerce_remote_id: true
contact: true contact: true
contact_company_profiles: true
customer_profiles: true
google_analytics: true google_analytics: true
langcode: true langcode: true
member_profiles: true

View File

@ -10,6 +10,7 @@ dependencies:
module: module:
- address - address
- commerce_tax - commerce_tax
- telephone_formatter
enforced: enforced:
module: module:
- commerce_order - commerce_order
@ -27,6 +28,16 @@ content:
third_party_settings: { } third_party_settings: { }
weight: 0 weight: 0
region: content region: content
phone:
type: telephone_formatter
label: above
settings:
format: 1
link: true
default_country: null
third_party_settings: { }
weight: 2
region: content
tax_number: tax_number:
type: commerce_tax_number_default type: commerce_tax_number_default
label: above label: above
@ -36,5 +47,5 @@ content:
weight: 1 weight: 1
region: content region: content
hidden: hidden:
phone: true
search_api_excerpt: true search_api_excerpt: true
synonyms: true

View File

@ -16,6 +16,24 @@ targetEntityType: user
bundle: user bundle: user
mode: default mode: default
content: content:
contact_company_profiles:
type: entity_reference_entity_view
label: above
settings:
view_mode: default
link: true
third_party_settings: { }
weight: 11
region: content
customer_profiles:
type: entity_reference_entity_view
label: above
settings:
view_mode: default
link: true
third_party_settings: { }
weight: 10
region: content
field_company: field_company:
type: entity_reference_label type: entity_reference_label
label: above label: above
@ -46,27 +64,43 @@ content:
third_party_settings: { } third_party_settings: { }
weight: 2 weight: 2
region: content region: content
masquerade:
settings: { }
third_party_settings: { }
weight: 5
region: content
member_for: member_for:
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
weight: 0 weight: 0
region: content region: content
member_profiles:
type: entity_reference_entity_view
label: above
settings:
view_mode: default
link: true
third_party_settings: { }
weight: 9
region: content
role_expire:
settings: { }
third_party_settings: { }
weight: 8
region: content
user_email_verification_verified: user_email_verification_verified:
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
weight: 100 weight: 6
region: content region: content
user_email_verification_verified_date: user_email_verification_verified_date:
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
weight: 100 weight: 7
region: content region: content
hidden: hidden:
commerce_remote_id: true commerce_remote_id: true
contact_company_profiles: true
customer_profiles: true
langcode: true langcode: true
member_profiles: true
profile_contact_company: true profile_contact_company: true
profile_customer: true profile_customer: true
profile_member: true profile_member: true

View File

@ -2,23 +2,15 @@ uuid: 2af6f5f9-510a-4a3f-89d1-ef8f2e94b09e
langcode: en langcode: en
status: true status: true
dependencies: { } dependencies: { }
third_party_settings:
commerce_order:
customer_profile_type: false
id: contact_company id: contact_company
label: 'Contact Company' label: 'Contact Company'
multiple: true display_label: ''
multiple: false
registration: false registration: false
roles: roles:
contact_company: contact_company contact_company: contact_company
unverified: '0' allow_revisions: false
authenticated: '0' new_revision: false
free_user: '0'
alpha_testeur: '0'
student: '0'
premium: '0'
adherent: '0'
translator: '0'
admin_showroom: '0'
admin: '0'
root: '0'
weight: 0
use_revisions: false
description: ''

View File

@ -22,7 +22,6 @@ is_admin: null
permissions: permissions:
- 'access materio search' - 'access materio search'
- 'add flag lists' - 'add flag lists'
- 'create member profile'
- 'create note content' - 'create note content'
- 'create workflow workflow_transition' - 'create workflow workflow_transition'
- 'display eu cookie compliance popup' - 'display eu cookie compliance popup'

View File

@ -239,7 +239,10 @@ permissions:
- 'update any commerce_license' - 'update any commerce_license'
- 'update any commerce_promotion' - 'update any commerce_promotion'
- 'update any commerce_subscription' - 'update any commerce_subscription'
- 'update any contact_company profile'
- 'update any customer profile'
- 'update any materio_product_type commerce_product' - 'update any materio_product_type commerce_product'
- 'update any member profile'
- 'update any online commerce_store' - 'update any online commerce_store'
- 'update content translations' - 'update content translations'
- 'update default commerce_order' - 'update default commerce_order'

View File

@ -22,7 +22,6 @@ is_admin: null
permissions: permissions:
- 'access materio search' - 'access materio search'
- 'add flag lists' - 'add flag lists'
- 'create member profile'
- 'create note content' - 'create note content'
- 'create workflow workflow_transition' - 'create workflow workflow_transition'
- 'display eu cookie compliance popup' - 'display eu cookie compliance popup'

View File

@ -11,7 +11,6 @@ label: 'Contact Company'
weight: -6 weight: -6
is_admin: null is_admin: null
permissions: permissions:
- 'create member profile'
- 'display eu cookie compliance popup' - 'display eu cookie compliance popup'
- 'update own contact_company profile' - 'update own contact_company profile'
- 'update own member profile' - 'update own member profile'

View File

@ -11,7 +11,6 @@ label: 'Free User'
weight: -7 weight: -7
is_admin: null is_admin: null
permissions: permissions:
- 'create member profile'
- 'display eu cookie compliance popup' - 'display eu cookie compliance popup'
- 'update own member profile' - 'update own member profile'
- 'view field_thesaurus' - 'view field_thesaurus'

View File

@ -20,7 +20,6 @@ is_admin: null
permissions: permissions:
- 'access materio search' - 'access materio search'
- 'add flag lists' - 'add flag lists'
- 'create member profile'
- 'create note content' - 'create note content'
- 'create workflow workflow_transition' - 'create workflow workflow_transition'
- 'display eu cookie compliance popup' - 'display eu cookie compliance popup'