diff --git a/src/composer.json b/src/composer.json
index 670d1fa..17d4fb4 100644
--- a/src/composer.json
+++ b/src/composer.json
@@ -16,6 +16,7 @@
],
"require": {
"composer/installers": "^1.9",
+ "drupal/address": "^1",
"drupal/admin_toolbar_content": "^1.3",
"drupal/administerusersbyrole": "^3.3",
"drupal/amswap": "^3",
diff --git a/src/composer.lock b/src/composer.lock
index 83730c6..344306b 100644
--- a/src/composer.lock
+++ b/src/composer.lock
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "1234977008c156a5217d6a92e17aa1df",
+ "content-hash": "258a1ceac9ef41f3e8a781aad24ec6e3",
"packages": [
{
"name": "alchemy/zippy",
diff --git a/src/config/sync/core.entity_form_display.node.concernement.default.yml b/src/config/sync/core.entity_form_display.node.concernement.default.yml
index cb2cd23..146c365 100644
--- a/src/config/sync/core.entity_form_display.node.concernement.default.yml
+++ b/src/config/sync/core.entity_form_display.node.concernement.default.yml
@@ -6,6 +6,7 @@ dependencies:
- field.field.node.concernement.field_caillou
- field.field.node.concernement.field_description
- field.field.node.concernement.field_entite
+ - field.field.node.concernement.field_lieu
- field.field.node.concernement.field_recit
- node.type.concernement
module:
@@ -21,6 +22,7 @@ third_party_settings:
- group_contenu
- group_entites
- group_recit
+ - group_ateliers
- status
- uid
- created
@@ -82,6 +84,21 @@ third_party_settings:
formatter: closed
description: ''
required_fields: true
+ group_ateliers:
+ children:
+ - field_lieu
+ label: Ateliers
+ region: content
+ parent_name: group_tabs
+ weight: 15
+ format_type: tab
+ format_settings:
+ classes: ''
+ show_empty_fields: false
+ id: ''
+ formatter: closed
+ description: ''
+ required_fields: true
id: node.concernement.default
targetEntityType: node
bundle: concernement
@@ -89,7 +106,7 @@ mode: default
content:
created:
type: datetime_timestamp
- weight: 17
+ weight: 18
region: content
settings: { }
third_party_settings: { }
@@ -121,6 +138,16 @@ content:
form_display_mode: default
default_paragraph_type: ''
third_party_settings: { }
+ field_lieu:
+ type: entity_reference_autocomplete
+ weight: 26
+ region: content
+ settings:
+ match_operator: CONTAINS
+ match_limit: 10
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
field_recit:
type: file_generic
weight: 3
@@ -130,7 +157,7 @@ content:
third_party_settings: { }
status:
type: boolean_checkbox
- weight: 15
+ weight: 16
region: content
settings:
display_label: true
@@ -150,7 +177,7 @@ content:
show_token_tree: 0
uid:
type: entity_reference_autocomplete
- weight: 16
+ weight: 17
region: content
settings:
match_operator: CONTAINS
diff --git a/src/config/sync/core.entity_form_display.paragraph.source.default.yml b/src/config/sync/core.entity_form_display.paragraph.source.default.yml
index ccbcd28..ee8e0b0 100644
--- a/src/config/sync/core.entity_form_display.paragraph.source.default.yml
+++ b/src/config/sync/core.entity_form_display.paragraph.source.default.yml
@@ -13,13 +13,12 @@ dependencies:
- image.style.thumbnail
- paragraphs.paragraphs_type.source
module:
- - advanced_text_formatter
- datetime
- field_group
- file
- image
- link
- - maxlength
+ - text
- video_embed_field
third_party_settings:
field_group:
@@ -46,7 +45,7 @@ third_party_settings:
label: 'Experience vécue'
region: hidden
parent_name: ''
- weight: 3
+ weight: 5
format_type: tab
format_settings:
classes: ''
@@ -163,19 +162,13 @@ content:
settings: { }
third_party_settings: { }
field_description:
- type: string_textarea
+ type: text_textarea
weight: 1
region: content
settings:
- rows: 8
+ rows: 5
placeholder: ''
- third_party_settings:
- maxlength:
- maxlength_js: null
- maxlength_js_label: 'Contenu limité à @limit caractères, restant : @remaining'
- maxlength_js_enforce: false
- advanced_text_formatter:
- show_token_tree: 0
+ third_party_settings: { }
field_documents:
type: file_generic
weight: 27
diff --git a/src/config/sync/core.entity_form_display.taxonomy_term.lieu.default.yml b/src/config/sync/core.entity_form_display.taxonomy_term.lieu.default.yml
new file mode 100644
index 0000000..1146d59
--- /dev/null
+++ b/src/config/sync/core.entity_form_display.taxonomy_term.lieu.default.yml
@@ -0,0 +1,47 @@
+uuid: 807a1faf-6af6-497f-bef6-79a226dead1c
+langcode: fr
+status: true
+dependencies:
+ config:
+ - field.field.taxonomy_term.lieu.field_adresse
+ - taxonomy.vocabulary.lieu
+ module:
+ - address
+ - text
+id: taxonomy_term.lieu.default
+targetEntityType: taxonomy_term
+bundle: lieu
+mode: default
+content:
+ description:
+ type: text_textarea
+ weight: 2
+ region: content
+ settings:
+ rows: 5
+ placeholder: ''
+ third_party_settings: { }
+ field_adresse:
+ type: address_default
+ weight: 1
+ region: content
+ settings: { }
+ third_party_settings: { }
+ name:
+ type: string_textfield
+ weight: 0
+ region: content
+ settings:
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ status:
+ type: boolean_checkbox
+ weight: 3
+ region: content
+ settings:
+ display_label: true
+ third_party_settings: { }
+hidden:
+ langcode: true
+ path: true
diff --git a/src/config/sync/core.entity_form_display.user.user.default.yml b/src/config/sync/core.entity_form_display.user.user.default.yml
index 89502ef..0ebec71 100644
--- a/src/config/sync/core.entity_form_display.user.user.default.yml
+++ b/src/config/sync/core.entity_form_display.user.user.default.yml
@@ -5,7 +5,6 @@ dependencies:
config:
- field.field.user.user.field_strucure
module:
- - autocomplete_deluxe
- user
id: user.user.default
targetEntityType: user
@@ -18,21 +17,20 @@ content:
settings: { }
third_party_settings: { }
field_strucure:
- type: autocomplete_deluxe
+ type: options_select
weight: 2
region: content
- settings:
- match_operator: CONTAINS
- autocomplete_route_name: autocomplete_deluxe.autocomplete
- size: 60
- selection_handler: default
- limit: 10
- min_length: 0
- delimiter: ''
- not_found_message_allow: true
- not_found_message: 'The term ''@term'' will be added'
- new_terms: true
- no_empty_message: 'No terms could be found. Please type in order to add a new term.'
+ settings: { }
+ third_party_settings: { }
+ regcode:
+ weight: 10
+ region: content
+ settings: { }
+ third_party_settings: { }
+ terms_of_use:
+ weight: 10
+ region: content
+ settings: { }
third_party_settings: { }
hidden:
contact: true
diff --git a/src/config/sync/core.entity_view_display.node.concernement.default.yml b/src/config/sync/core.entity_view_display.node.concernement.default.yml
index 46923bb..cf20277 100644
--- a/src/config/sync/core.entity_view_display.node.concernement.default.yml
+++ b/src/config/sync/core.entity_view_display.node.concernement.default.yml
@@ -6,6 +6,7 @@ dependencies:
- field.field.node.concernement.field_caillou
- field.field.node.concernement.field_description
- field.field.node.concernement.field_entite
+ - field.field.node.concernement.field_lieu
- field.field.node.concernement.field_recit
- node.type.concernement
module:
@@ -29,7 +30,7 @@ content:
label: above
settings: { }
third_party_settings: { }
- weight: 104
+ weight: 107
region: content
field_entite:
type: entity_reference_revisions_entity_view
@@ -40,6 +41,14 @@ content:
third_party_settings: { }
weight: 102
region: content
+ field_lieu:
+ type: entity_reference_label
+ label: above
+ settings:
+ link: true
+ third_party_settings: { }
+ weight: 106
+ region: content
field_recit:
type: file_default
label: above
diff --git a/src/config/sync/core.entity_view_display.node.concernement.teaser.yml b/src/config/sync/core.entity_view_display.node.concernement.teaser.yml
index 4a68294..9c7dd98 100644
--- a/src/config/sync/core.entity_view_display.node.concernement.teaser.yml
+++ b/src/config/sync/core.entity_view_display.node.concernement.teaser.yml
@@ -7,6 +7,7 @@ dependencies:
- field.field.node.concernement.field_caillou
- field.field.node.concernement.field_description
- field.field.node.concernement.field_entite
+ - field.field.node.concernement.field_lieu
- field.field.node.concernement.field_recit
- node.type.concernement
module:
@@ -25,6 +26,7 @@ hidden:
field_caillou: true
field_description: true
field_entite: true
+ field_lieu: true
field_recit: true
langcode: true
search_api_excerpt: true
diff --git a/src/config/sync/core.entity_view_display.paragraph.source.default.yml b/src/config/sync/core.entity_view_display.paragraph.source.default.yml
index 903a3c8..4c7006c 100644
--- a/src/config/sync/core.entity_view_display.paragraph.source.default.yml
+++ b/src/config/sync/core.entity_view_display.paragraph.source.default.yml
@@ -16,6 +16,7 @@ dependencies:
- file
- image
- link
+ - text
- video_embed_field
id: paragraph.source.default
targetEntityType: paragraph
@@ -40,7 +41,7 @@ content:
weight: 6
region: content
field_description:
- type: basic_string
+ type: text_default
label: above
settings: { }
third_party_settings: { }
diff --git a/src/config/sync/core.entity_view_display.taxonomy_term.lieu.default.yml b/src/config/sync/core.entity_view_display.taxonomy_term.lieu.default.yml
new file mode 100644
index 0000000..9f214ef
--- /dev/null
+++ b/src/config/sync/core.entity_view_display.taxonomy_term.lieu.default.yml
@@ -0,0 +1,32 @@
+uuid: 04164f73-d0f4-4f8d-8fae-d0c13e0d917b
+langcode: fr
+status: true
+dependencies:
+ config:
+ - field.field.taxonomy_term.lieu.field_adresse
+ - taxonomy.vocabulary.lieu
+ module:
+ - address
+ - text
+id: taxonomy_term.lieu.default
+targetEntityType: taxonomy_term
+bundle: lieu
+mode: default
+content:
+ description:
+ type: text_default
+ label: hidden
+ settings: { }
+ third_party_settings: { }
+ weight: 0
+ region: content
+ field_adresse:
+ type: address_default
+ label: above
+ settings: { }
+ third_party_settings: { }
+ weight: 1
+ region: content
+hidden:
+ langcode: true
+ search_api_excerpt: true
diff --git a/src/config/sync/core.extension.yml b/src/config/sync/core.extension.yml
index 340dd96..0b7e84f 100644
--- a/src/config/sync/core.extension.yml
+++ b/src/config/sync/core.extension.yml
@@ -3,6 +3,7 @@ _core:
langcode: fr
module:
actions_permissions: 0
+ address: 0
admin_menus: 0
admin_toolbar: 0
admin_toolbar_content: 0
diff --git a/src/config/sync/core.menu.static_menu_link_overrides.yml b/src/config/sync/core.menu.static_menu_link_overrides.yml
index 0ca1072..bb29eaa 100644
--- a/src/config/sync/core.menu.static_menu_link_overrides.yml
+++ b/src/config/sync/core.menu.static_menu_link_overrides.yml
@@ -14,3 +14,9 @@ definitions:
parent: admin_menus.contents
expanded: false
weight: 0
+ admin_menus__contents:
+ weight: -50
+ menu_name: administrator
+ parent: ''
+ enabled: true
+ expanded: false
diff --git a/src/config/sync/editor.editor.linkonly.yml b/src/config/sync/editor.editor.linkonly.yml
new file mode 100644
index 0000000..20c9b29
--- /dev/null
+++ b/src/config/sync/editor.editor.linkonly.yml
@@ -0,0 +1,31 @@
+uuid: 0b0d34c1-79eb-4ca6-807f-836f2851ecfb
+langcode: fr
+status: true
+dependencies:
+ config:
+ - filter.format.linkonly
+ module:
+ - ckeditor
+format: linkonly
+editor: ckeditor
+settings:
+ toolbar:
+ rows:
+ -
+ -
+ name: Liens
+ items:
+ - DrupalLink
+ - DrupalUnlink
+ plugins:
+ drupallink:
+ linkit_enabled: false
+ linkit_profile: ''
+image_upload:
+ status: false
+ scheme: public
+ directory: inline-images
+ max_size: ''
+ max_dimensions:
+ width: null
+ height: null
diff --git a/src/config/sync/field.field.node.concernement.field_description.yml b/src/config/sync/field.field.node.concernement.field_description.yml
index c4673dd..87bff9a 100644
--- a/src/config/sync/field.field.node.concernement.field_description.yml
+++ b/src/config/sync/field.field.node.concernement.field_description.yml
@@ -1,4 +1,4 @@
-uuid: 535ce9fa-7e1c-42b2-8b1a-10dc104e9603
+uuid: 593f484f-0de7-49cb-9c09-d5c4c43c3235
langcode: fr
status: true
dependencies:
diff --git a/src/config/sync/field.field.node.concernement.field_lieu.yml b/src/config/sync/field.field.node.concernement.field_lieu.yml
new file mode 100644
index 0000000..f843d64
--- /dev/null
+++ b/src/config/sync/field.field.node.concernement.field_lieu.yml
@@ -0,0 +1,29 @@
+uuid: c642bfab-8c1b-4ca0-ad9a-f2bf9a6bdd14
+langcode: fr
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_lieu
+ - node.type.concernement
+ - taxonomy.vocabulary.lieu
+id: node.concernement.field_lieu
+field_name: field_lieu
+entity_type: node
+bundle: concernement
+label: Lieu
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ handler: 'default:taxonomy_term'
+ handler_settings:
+ target_bundles:
+ lieu: lieu
+ sort:
+ field: name
+ direction: asc
+ auto_create: false
+ auto_create_bundle: ''
+field_type: entity_reference
diff --git a/src/config/sync/field.field.paragraph.source.field_description.yml b/src/config/sync/field.field.paragraph.source.field_description.yml
index 529f099..c6d3467 100644
--- a/src/config/sync/field.field.paragraph.source.field_description.yml
+++ b/src/config/sync/field.field.paragraph.source.field_description.yml
@@ -1,10 +1,12 @@
-uuid: d2ee1d58-0296-4f56-961f-6dac57ceb173
+uuid: 16ebf1f1-c233-4449-94f1-5eb28eb7712c
langcode: fr
status: true
dependencies:
config:
- field.storage.paragraph.field_description
- paragraphs.paragraphs_type.source
+ module:
+ - text
id: paragraph.source.field_description
field_name: field_description
entity_type: paragraph
@@ -16,4 +18,4 @@ translatable: false
default_value: { }
default_value_callback: ''
settings: { }
-field_type: string_long
+field_type: text_long
diff --git a/src/config/sync/field.field.taxonomy_term.lieu.field_adresse.yml b/src/config/sync/field.field.taxonomy_term.lieu.field_adresse.yml
new file mode 100644
index 0000000..842df57
--- /dev/null
+++ b/src/config/sync/field.field.taxonomy_term.lieu.field_adresse.yml
@@ -0,0 +1,47 @@
+uuid: 39fee0a0-22fc-46b2-80da-bc9cd16b740e
+langcode: fr
+status: true
+dependencies:
+ config:
+ - field.storage.taxonomy_term.field_adresse
+ - taxonomy.vocabulary.lieu
+ module:
+ - address
+id: taxonomy_term.lieu.field_adresse
+field_name: field_adresse
+entity_type: taxonomy_term
+bundle: lieu
+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
+ organization:
+ override: hidden
+ sortingCode:
+ override: hidden
+ fields: { }
+field_type: address
diff --git a/src/config/sync/field.storage.node.field_description.yml b/src/config/sync/field.storage.node.field_description.yml
index e5567d8..8f040e3 100644
--- a/src/config/sync/field.storage.node.field_description.yml
+++ b/src/config/sync/field.storage.node.field_description.yml
@@ -1,4 +1,4 @@
-uuid: aab0fc38-c9cb-4314-bebc-37c15abbacb3
+uuid: 5acf7705-4d04-4287-ab75-c206e9e243ec
langcode: fr
status: true
dependencies:
diff --git a/src/config/sync/field.storage.node.field_lieu.yml b/src/config/sync/field.storage.node.field_lieu.yml
new file mode 100644
index 0000000..90ff7df
--- /dev/null
+++ b/src/config/sync/field.storage.node.field_lieu.yml
@@ -0,0 +1,20 @@
+uuid: 2aa80a26-ca7d-4067-80c1-fe14d7c5dc88
+langcode: fr
+status: true
+dependencies:
+ module:
+ - node
+ - taxonomy
+id: node.field_lieu
+field_name: field_lieu
+entity_type: node
+type: entity_reference
+settings:
+ target_type: taxonomy_term
+module: core
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/src/config/sync/field.storage.paragraph.field_description.yml b/src/config/sync/field.storage.paragraph.field_description.yml
index 28a4805..1781695 100644
--- a/src/config/sync/field.storage.paragraph.field_description.yml
+++ b/src/config/sync/field.storage.paragraph.field_description.yml
@@ -1,16 +1,16 @@
-uuid: 477f32ee-3fe7-4b49-8667-630569af1da7
+uuid: 0905aa46-1120-4d3d-89e4-156d97c90e58
langcode: fr
status: true
dependencies:
module:
- paragraphs
+ - text
id: paragraph.field_description
field_name: field_description
entity_type: paragraph
-type: string_long
-settings:
- case_sensitive: false
-module: core
+type: text_long
+settings: { }
+module: text
locked: false
cardinality: 1
translatable: true
diff --git a/src/config/sync/field.storage.taxonomy_term.field_adresse.yml b/src/config/sync/field.storage.taxonomy_term.field_adresse.yml
new file mode 100644
index 0000000..076a947
--- /dev/null
+++ b/src/config/sync/field.storage.taxonomy_term.field_adresse.yml
@@ -0,0 +1,19 @@
+uuid: d1f1c929-2a8d-4c0d-9b12-d4ac85b755e6
+langcode: fr
+status: true
+dependencies:
+ module:
+ - address
+ - taxonomy
+id: taxonomy_term.field_adresse
+field_name: field_adresse
+entity_type: taxonomy_term
+type: address
+settings: { }
+module: address
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/src/config/sync/filter.format.linkonly.yml b/src/config/sync/filter.format.linkonly.yml
new file mode 100644
index 0000000..3324335
--- /dev/null
+++ b/src/config/sync/filter.format.linkonly.yml
@@ -0,0 +1,49 @@
+uuid: ac2880cb-1e0f-42db-a209-2df6dedcdac0
+langcode: fr
+status: true
+dependencies:
+ module:
+ - linkit
+ - url_to_video_filter
+name: linkonly
+format: linkonly
+weight: 0
+filters:
+ filter_htmlcorrector:
+ id: filter_htmlcorrector
+ provider: filter
+ status: true
+ weight: 10
+ settings: { }
+ filter_autop:
+ id: filter_autop
+ provider: filter
+ status: true
+ weight: 0
+ settings: { }
+ filter_html:
+ id: filter_html
+ provider: filter
+ status: false
+ weight: -10
+ settings:
+ allowed_html: '