ajouter champs texte dans paragraphe Équipe de page static pour rajouter téléphone et mail
This commit is contained in:
		@@ -3,19 +3,30 @@ langcode: fr
 | 
			
		||||
status: true
 | 
			
		||||
dependencies:
 | 
			
		||||
  config:
 | 
			
		||||
    - field.field.paragraph.personne.field_courriel
 | 
			
		||||
    - field.field.paragraph.personne.field_fonction
 | 
			
		||||
    - field.field.paragraph.personne.field_nom
 | 
			
		||||
    - field.field.paragraph.personne.field_photo
 | 
			
		||||
    - field.field.paragraph.personne.field_prenom
 | 
			
		||||
    - field.field.paragraph.personne.field_telephone
 | 
			
		||||
    - image.style.thumbnail
 | 
			
		||||
    - paragraphs.paragraphs_type.personne
 | 
			
		||||
  module:
 | 
			
		||||
    - image
 | 
			
		||||
    - telephone
 | 
			
		||||
id: paragraph.personne.default
 | 
			
		||||
targetEntityType: paragraph
 | 
			
		||||
bundle: personne
 | 
			
		||||
mode: default
 | 
			
		||||
content:
 | 
			
		||||
  field_courriel:
 | 
			
		||||
    type: email_default
 | 
			
		||||
    weight: 5
 | 
			
		||||
    region: content
 | 
			
		||||
    settings:
 | 
			
		||||
      placeholder: ''
 | 
			
		||||
      size: 60
 | 
			
		||||
    third_party_settings: {  }
 | 
			
		||||
  field_fonction:
 | 
			
		||||
    type: string_textfield
 | 
			
		||||
    weight: 2
 | 
			
		||||
@@ -48,6 +59,13 @@ content:
 | 
			
		||||
      size: 60
 | 
			
		||||
      placeholder: ''
 | 
			
		||||
    third_party_settings: {  }
 | 
			
		||||
  field_telephone:
 | 
			
		||||
    type: telephone_default
 | 
			
		||||
    weight: 4
 | 
			
		||||
    region: content
 | 
			
		||||
    settings:
 | 
			
		||||
      placeholder: ''
 | 
			
		||||
    third_party_settings: {  }
 | 
			
		||||
hidden:
 | 
			
		||||
  created: true
 | 
			
		||||
  status: true
 | 
			
		||||
 
 | 
			
		||||
@@ -3,18 +3,28 @@ langcode: fr
 | 
			
		||||
status: true
 | 
			
		||||
dependencies:
 | 
			
		||||
  config:
 | 
			
		||||
    - field.field.paragraph.personne.field_courriel
 | 
			
		||||
    - field.field.paragraph.personne.field_fonction
 | 
			
		||||
    - field.field.paragraph.personne.field_nom
 | 
			
		||||
    - field.field.paragraph.personne.field_photo
 | 
			
		||||
    - field.field.paragraph.personne.field_prenom
 | 
			
		||||
    - field.field.paragraph.personne.field_telephone
 | 
			
		||||
    - paragraphs.paragraphs_type.personne
 | 
			
		||||
  module:
 | 
			
		||||
    - image
 | 
			
		||||
    - telephone
 | 
			
		||||
id: paragraph.personne.default
 | 
			
		||||
targetEntityType: paragraph
 | 
			
		||||
bundle: personne
 | 
			
		||||
mode: default
 | 
			
		||||
content:
 | 
			
		||||
  field_courriel:
 | 
			
		||||
    type: email_mailto
 | 
			
		||||
    label: visually_hidden
 | 
			
		||||
    settings: {  }
 | 
			
		||||
    third_party_settings: {  }
 | 
			
		||||
    weight: 5
 | 
			
		||||
    region: content
 | 
			
		||||
  field_fonction:
 | 
			
		||||
    type: string
 | 
			
		||||
    label: visually_hidden
 | 
			
		||||
@@ -50,5 +60,13 @@ content:
 | 
			
		||||
    third_party_settings: {  }
 | 
			
		||||
    weight: 1
 | 
			
		||||
    region: content
 | 
			
		||||
  field_telephone:
 | 
			
		||||
    type: telephone_link
 | 
			
		||||
    label: visually_hidden
 | 
			
		||||
    settings:
 | 
			
		||||
      title: ''
 | 
			
		||||
    third_party_settings: {  }
 | 
			
		||||
    weight: 4
 | 
			
		||||
    region: content
 | 
			
		||||
hidden:
 | 
			
		||||
  search_api_excerpt: true
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
@@ -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
 | 
			
		||||
							
								
								
									
										18
									
								
								config/sync/field.storage.paragraph.field_courriel.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								config/sync/field.storage.paragraph.field_courriel.yml
									
									
									
									
									
										Normal 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
 | 
			
		||||
							
								
								
									
										19
									
								
								config/sync/field.storage.paragraph.field_telephone.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								config/sync/field.storage.paragraph.field_telephone.yml
									
									
									
									
									
										Normal 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
 | 
			
		||||
		Reference in New Issue
	
	Block a user