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
langcode: fr
status: true
status: false
dependencies:
config:
- system.menu.footer

View File

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

View File

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

View File

@ -10,6 +10,7 @@ dependencies:
module:
- address
- commerce_tax
- telephone_formatter
enforced:
module:
- commerce_order
@ -27,6 +28,16 @@ content:
third_party_settings: { }
weight: 0
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:
type: commerce_tax_number_default
label: above
@ -36,5 +47,5 @@ content:
weight: 1
region: content
hidden:
phone: true
search_api_excerpt: true
synonyms: true

View File

@ -16,6 +16,24 @@ targetEntityType: user
bundle: user
mode: default
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:
type: entity_reference_label
label: above
@ -46,27 +64,43 @@ content:
third_party_settings: { }
weight: 2
region: content
masquerade:
settings: { }
third_party_settings: { }
weight: 5
region: content
member_for:
settings: { }
third_party_settings: { }
weight: 0
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:
settings: { }
third_party_settings: { }
weight: 100
weight: 6
region: content
user_email_verification_verified_date:
settings: { }
third_party_settings: { }
weight: 100
weight: 7
region: content
hidden:
commerce_remote_id: true
contact_company_profiles: true
customer_profiles: true
langcode: true
member_profiles: true
profile_contact_company: true
profile_customer: true
profile_member: true

View File

@ -2,23 +2,15 @@ uuid: 2af6f5f9-510a-4a3f-89d1-ef8f2e94b09e
langcode: en
status: true
dependencies: { }
third_party_settings:
commerce_order:
customer_profile_type: false
id: contact_company
label: 'Contact Company'
multiple: true
display_label: ''
multiple: false
registration: false
roles:
contact_company: contact_company
unverified: '0'
authenticated: '0'
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: ''
allow_revisions: false
new_revision: false

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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