added address (pays & ville) to bourgeons (group)

This commit is contained in:
Bachir Soussi Chiadmi 2023-04-17 14:26:17 +02:00
parent f6611f839b
commit 4708f9bfe1
5 changed files with 115 additions and 2 deletions

View File

@ -3,10 +3,12 @@ langcode: fr
status: true
dependencies:
config:
- field.field.group.bourgeon.field_adresse
- field.field.group.bourgeon.field_description
- field.field.group.bourgeon.field_structure
- group.type.bourgeon
module:
- address
- autocomplete_deluxe
- field_group
- text
@ -18,7 +20,7 @@ third_party_settings:
label: Details
region: content
parent_name: ''
weight: 3
weight: 4
format_type: details_sidebar
format_settings:
classes: ''
@ -33,9 +35,15 @@ targetEntityType: group
bundle: bourgeon
mode: default
content:
field_adresse:
type: address_default
weight: 2
region: content
settings: { }
third_party_settings: { }
field_description:
type: text_textarea_with_summary
weight: 2
weight: 3
region: content
settings:
rows: 9

View File

@ -3,16 +3,25 @@ langcode: fr
status: true
dependencies:
config:
- field.field.group.bourgeon.field_adresse
- field.field.group.bourgeon.field_description
- field.field.group.bourgeon.field_structure
- group.type.bourgeon
module:
- address
- text
id: group.bourgeon.default
targetEntityType: group
bundle: bourgeon
mode: default
content:
field_adresse:
type: address_default
label: above
settings: { }
third_party_settings: { }
weight: -2
region: content
field_description:
type: text_default
label: above

View File

@ -0,0 +1,59 @@
uuid: 6232bf1a-c0f6-4d8c-9909-14d5f7c71b8b
langcode: fr
status: true
dependencies:
config:
- field.storage.group.field_adresse
- group.type.bourgeon
module:
- address
id: group.bourgeon.field_adresse
field_name: field_adresse
entity_type: group
bundle: bourgeon
label: Adresse
description: ''
required: false
translatable: false
default_value:
-
langcode: null
country_code: FR
administrative_area: null
locality: ''
dependent_locality: null
postal_code: ''
sorting_code: ''
address_line1: ''
address_line2: ''
organization: ''
given_name: ''
additional_name: null
family_name: ''
default_value_callback: ''
settings:
available_countries: { }
langcode_override: ''
field_overrides:
givenName:
override: hidden
additionalName:
override: hidden
familyName:
override: hidden
organization:
override: hidden
addressLine1:
override: hidden
addressLine2:
override: hidden
postalCode:
override: hidden
sortingCode:
override: hidden
dependentLocality:
override: hidden
administrativeArea:
override: hidden
fields: { }
field_type: address

View File

@ -0,0 +1,19 @@
uuid: 253f8550-81f6-4faa-ad5b-386208fe56f8
langcode: fr
status: true
dependencies:
module:
- address
- group
id: group.field_adresse
field_name: field_adresse
entity_type: group
type: address
settings: { }
module: address
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@ -0,0 +1,18 @@
uuid: 6443c8bb-9c0d-4884-996a-04ef0200f020
langcode: fr
status: true
dependencies:
module:
- node
- serialization
- user
id: entity.node_type
plugin_id: 'entity:node_type'
granularity: resource
configuration:
methods:
- GET
formats:
- json
authentication:
- cookie