ajouter champs texte dans paragraphe Équipe de page static pour rajouter téléphone et mail

This commit is contained in:
Bachir Soussi Chiadmi 2022-08-17 11:20:31 +02:00
parent c92c32e232
commit 2e1b9bc0ee
6 changed files with 113 additions and 0 deletions

View File

@ -3,19 +3,30 @@ langcode: fr
status: true status: true
dependencies: dependencies:
config: config:
- field.field.paragraph.personne.field_courriel
- field.field.paragraph.personne.field_fonction - field.field.paragraph.personne.field_fonction
- field.field.paragraph.personne.field_nom - field.field.paragraph.personne.field_nom
- field.field.paragraph.personne.field_photo - field.field.paragraph.personne.field_photo
- field.field.paragraph.personne.field_prenom - field.field.paragraph.personne.field_prenom
- field.field.paragraph.personne.field_telephone
- image.style.thumbnail - image.style.thumbnail
- paragraphs.paragraphs_type.personne - paragraphs.paragraphs_type.personne
module: module:
- image - image
- telephone
id: paragraph.personne.default id: paragraph.personne.default
targetEntityType: paragraph targetEntityType: paragraph
bundle: personne bundle: personne
mode: default mode: default
content: content:
field_courriel:
type: email_default
weight: 5
region: content
settings:
placeholder: ''
size: 60
third_party_settings: { }
field_fonction: field_fonction:
type: string_textfield type: string_textfield
weight: 2 weight: 2
@ -48,6 +59,13 @@ content:
size: 60 size: 60
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
field_telephone:
type: telephone_default
weight: 4
region: content
settings:
placeholder: ''
third_party_settings: { }
hidden: hidden:
created: true created: true
status: true status: true

View File

@ -3,18 +3,28 @@ langcode: fr
status: true status: true
dependencies: dependencies:
config: config:
- field.field.paragraph.personne.field_courriel
- field.field.paragraph.personne.field_fonction - field.field.paragraph.personne.field_fonction
- field.field.paragraph.personne.field_nom - field.field.paragraph.personne.field_nom
- field.field.paragraph.personne.field_photo - field.field.paragraph.personne.field_photo
- field.field.paragraph.personne.field_prenom - field.field.paragraph.personne.field_prenom
- field.field.paragraph.personne.field_telephone
- paragraphs.paragraphs_type.personne - paragraphs.paragraphs_type.personne
module: module:
- image - image
- telephone
id: paragraph.personne.default id: paragraph.personne.default
targetEntityType: paragraph targetEntityType: paragraph
bundle: personne bundle: personne
mode: default mode: default
content: content:
field_courriel:
type: email_mailto
label: visually_hidden
settings: { }
third_party_settings: { }
weight: 5
region: content
field_fonction: field_fonction:
type: string type: string
label: visually_hidden label: visually_hidden
@ -50,5 +60,13 @@ content:
third_party_settings: { } third_party_settings: { }
weight: 1 weight: 1
region: content region: content
field_telephone:
type: telephone_link
label: visually_hidden
settings:
title: ''
third_party_settings: { }
weight: 4
region: content
hidden: hidden:
search_api_excerpt: true search_api_excerpt: true

View File

@ -0,0 +1,19 @@
uuid: 04415705-c56b-4844-b8ca-6077fa2876c7
langcode: fr
status: true
dependencies:
config:
- field.storage.paragraph.field_courriel
- paragraphs.paragraphs_type.personne
id: paragraph.personne.field_courriel
field_name: field_courriel
entity_type: paragraph
bundle: personne
label: Courriel
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: email

View File

@ -0,0 +1,21 @@
uuid: 58ca1f7d-b0b4-4174-8b58-4f35dfd7dc5f
langcode: fr
status: true
dependencies:
config:
- field.storage.paragraph.field_telephone
- paragraphs.paragraphs_type.personne
module:
- telephone
id: paragraph.personne.field_telephone
field_name: field_telephone
entity_type: paragraph
bundle: personne
label: Téléphone
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: telephone

View File

@ -0,0 +1,18 @@
uuid: 28b9a61b-5327-4b41-9ac8-ba1bd7725788
langcode: fr
status: true
dependencies:
module:
- paragraphs
id: paragraph.field_courriel
field_name: field_courriel
entity_type: paragraph
type: email
settings: { }
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@ -0,0 +1,19 @@
uuid: 1510fb5c-8a62-4e69-9db6-48169195269a
langcode: fr
status: true
dependencies:
module:
- paragraphs
- telephone
id: paragraph.field_telephone
field_name: field_telephone
entity_type: paragraph
type: telephone
settings: { }
module: telephone
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false