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

View File

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

View File

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

View File

@ -59,14 +59,6 @@ process:
source: field_public_address source: field_public_address
process: process:
country_code: country 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 field_note: field_note
description: description:
plugin: iterator plugin: iterator

View File

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