removed all fields but country from company address

This commit is contained in:
Bachir Soussi Chiadmi 2021-02-15 14:00:26 +01:00
parent f2632177ed
commit c572503d1a
5 changed files with 34 additions and 40 deletions

View File

@ -40,7 +40,6 @@ third_party_settings:
region: content
group_infos:
children:
- field_departement
- field_public_phone
- field_public_email
- field_website
@ -49,7 +48,6 @@ third_party_settings:
weight: 12
format_type: tab
format_settings:
label: 'Public infos'
formatter: open
description: ''
required_fields: true
@ -74,6 +72,7 @@ third_party_settings:
region: content
group_internal:
children:
- status
- field_workflow
- field_migration
- field_note
@ -84,7 +83,6 @@ third_party_settings:
weight: 2
format_type: tab
format_settings:
label: Internal
formatter: open
description: ''
required_fields: true
@ -135,7 +133,7 @@ content:
type: text_textarea
region: content
field_memo:
weight: 21
weight: 7
settings:
rows: 5
placeholder: ''
@ -143,13 +141,13 @@ content:
type: string_textarea
region: content
field_migration:
weight: 19
weight: 5
settings: { }
third_party_settings: { }
type: workflow_default
region: content
field_note:
weight: 20
weight: 6
settings: { }
third_party_settings: { }
type: options_select
@ -184,14 +182,14 @@ content:
type: link_default
region: content
field_workflow:
weight: 18
weight: 4
settings: { }
third_party_settings: { }
type: workflow_default
region: content
langcode:
type: language_select
weight: 22
weight: 8
region: content
settings:
include_locked: true
@ -208,11 +206,11 @@ content:
type: boolean_checkbox
settings:
display_label: true
weight: 100
weight: 3
region: content
third_party_settings: { }
translation:
weight: 23
weight: 9
region: content
settings: { }
third_party_settings: { }

View File

@ -22,26 +22,26 @@ settings:
langcode_override: ''
field_overrides:
givenName:
override: optional
override: hidden
additionalName:
override: optional
override: hidden
familyName:
override: optional
override: hidden
organization:
override: optional
override: hidden
addressLine1:
override: optional
override: hidden
addressLine2:
override: optional
override: hidden
postalCode:
override: optional
override: hidden
sortingCode:
override: optional
override: hidden
dependentLocality:
override: optional
override: hidden
locality:
override: optional
override: hidden
administrativeArea:
override: optional
override: hidden
fields: { }
field_type: address

View File

@ -4,7 +4,11 @@ status: true
dependencies:
module:
- address
- field_permissions
- taxonomy
third_party_settings:
field_permissions:
permission_type: public
id: taxonomy_term.field_public_address
field_name: field_public_address
entity_type: taxonomy_term

View File

@ -59,14 +59,6 @@ process:
source: field_public_address
process:
country_code: country
administrative_area: administrative_area
locality: locality
dependent_locality: dependent_locality
postal_code: postal_code
address_line1: thoroughfare
organization: organisation_name
given_name: first_name
family_name: last_name
field_note: field_note
description:
plugin: iterator

View File

@ -66,17 +66,17 @@ process:
process:
# langcode:
country_code: country
administrative_area: administrative_area
locality: locality
dependent_locality: dependent_locality
postal_code: postal_code
# sorting_code:
address_line1: thoroughfare
# address_line2:
organization: organisation_name
given_name: first_name
# additional_name:
family_name: last_name
# administrative_area: administrative_area
# locality: locality
# dependent_locality: dependent_locality
# postal_code: postal_code
# # sorting_code:
# address_line1: thoroughfare
# # address_line2:
# organization: organisation_name
# given_name: first_name
# # additional_name:
# family_name: last_name
# SOURCES
# sub_administrative_area