From 296ee109639ee14115cf18f9c6e8911b35ec5121 Mon Sep 17 00:00:00 2001 From: bach Date: Thu, 4 Jul 2024 15:50:20 +0200 Subject: [PATCH 1/2] new page for home, home diapo config page --- composer.json | 4 + composer.lock | 394 +++++++++++++++++- .../sync/config_pages.type.diaporama_home.yml | 17 + ...ay.config_pages.diaporama_home.default.yml | 33 ++ ...ay.config_pages.diaporama_home.default.yml | 41 ++ ...ore.entity_view_mode.config_pages.full.yml | 13 + config/sync/core.extension.yml | 6 + ...nfig_pages.diaporama_home.field_images.yml | 41 ++ ...onfig_pages.diaporama_home.field_video.yml | 25 ++ ...ield.storage.config_pages.field_images.yml | 30 ++ ...field.storage.config_pages.field_video.yml | 19 + ...ore.entity_view_mode.config_pages.full.yml | 1 + .../en/page_manager.page.node_view.yml | 5 + config/sync/page_manager.page.home.yml | 12 + config/sync/page_manager.page.node_view.yml | 18 + ...ger.page_variant.home-panels_variant-0.yml | 67 +++ ...undle_settings.menu_link_content.admin.yml | 1 + config/sync/system.site.yml | 2 +- config/sync/user.role.anonymous.yml | 2 + config/sync/user.role.authenticated.yml | 2 + config/sync/user.role.editeur.yml | 2 + config/sync/views.view.presentation.yml | 238 +++++++++++ 22 files changed, 971 insertions(+), 2 deletions(-) create mode 100644 config/sync/config_pages.type.diaporama_home.yml create mode 100644 config/sync/core.entity_form_display.config_pages.diaporama_home.default.yml create mode 100644 config/sync/core.entity_view_display.config_pages.diaporama_home.default.yml create mode 100644 config/sync/core.entity_view_mode.config_pages.full.yml create mode 100644 config/sync/field.field.config_pages.diaporama_home.field_images.yml create mode 100644 config/sync/field.field.config_pages.diaporama_home.field_video.yml create mode 100644 config/sync/field.storage.config_pages.field_images.yml create mode 100644 config/sync/field.storage.config_pages.field_video.yml create mode 100644 config/sync/language/en/core.entity_view_mode.config_pages.full.yml create mode 100644 config/sync/language/en/page_manager.page.node_view.yml create mode 100644 config/sync/page_manager.page.home.yml create mode 100644 config/sync/page_manager.page.node_view.yml create mode 100644 config/sync/page_manager.page_variant.home-panels_variant-0.yml create mode 100644 config/sync/simple_sitemap_engines.bundle_settings.menu_link_content.admin.yml create mode 100644 config/sync/views.view.presentation.yml diff --git a/composer.json b/composer.json index 93b030c..83034db 100644 --- a/composer.json +++ b/composer.json @@ -16,13 +16,17 @@ ], "require": { "composer/installers": "^2.0", + "drupal/config_pages": "^2.15", "drupal/core-composer-scaffold": "^10.2", "drupal/core-project-message": "^10.2", "drupal/core-recommended": "^10.2", + "drupal/image_field_caption": "^2.0", "drupal/linked_field": "^1.5", "drupal/manage_display": "^3.0", "drupal/matomo": "^1.23", "drupal/metatag": "^2.0", + "drupal/page_manager": "^4.0@RC", + "drupal/panels": "^4.8", "drupal/paragraphs": "^1.17", "drupal/simple_sitemap": "^4.1", "drupal/social_media_links": "^2.9", diff --git a/composer.lock b/composer.lock index 56a6cc7..1a1ada5 100644 --- a/composer.lock +++ b/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": "0a49248da6ca9bac65e9f55094f010ef", + "content-hash": "5a4503115ae826af4abfbc3363d6b6e5", "packages": [ { "name": "asm89/stack-cors", @@ -2512,6 +2512,67 @@ "irc": "irc://irc.freenode.org/drupal-contribute" } }, + { + "name": "drupal/config_pages", + "version": "2.15.0", + "source": { + "type": "git", + "url": "https://git.drupalcode.org/project/config_pages.git", + "reference": "8.x-2.15" + }, + "dist": { + "type": "zip", + "url": "https://ftp.drupal.org/files/projects/config_pages-8.x-2.15.zip", + "reference": "8.x-2.15", + "shasum": "55d4a898c6df03295e26ce07930c6b7d06183287" + }, + "require": { + "drupal/core": "^8.5 | ^9 || ^10" + }, + "type": "drupal-module", + "extra": { + "drupal": { + "version": "8.x-2.15", + "datestamp": "1688847929", + "security-coverage": { + "status": "covered", + "message": "Covered by Drupal's security advisory policy" + } + }, + "drush": { + "services": { + "drush.services.yml": "^9" + } + } + }, + "notification-url": "https://packages.drupal.org/8/downloads", + "license": [ + "GPL-2.0-or-later" + ], + "authors": [ + { + "name": "m.krestnicov", + "homepage": "https://www.drupal.org/user/3193903" + }, + { + "name": "Qwaygon", + "homepage": "https://www.drupal.org/user/636624" + }, + { + "name": "shumer", + "homepage": "https://www.drupal.org/user/2297432" + } + ], + "description": "ConfigPages module", + "homepage": "http://drupal.org/project/config_pages", + "keywords": [ + "Drupal" + ], + "support": { + "source": "http://cgit.drupalcode.org/config_pages", + "issues": "http://drupal.org/project/issues/config_pages" + } + }, { "name": "drupal/config_update", "version": "2.0.0-alpha3", @@ -4257,6 +4318,71 @@ "issues": "https://www.drupal.org/project/issues/honeypot" } }, + { + "name": "drupal/image_field_caption", + "version": "2.0.1", + "source": { + "type": "git", + "url": "https://git.drupalcode.org/project/image_field_caption.git", + "reference": "2.0.1" + }, + "dist": { + "type": "zip", + "url": "https://ftp.drupal.org/files/projects/image_field_caption-2.0.1.zip", + "reference": "2.0.1", + "shasum": "053e1ccfc638b3b2cd5c59c3c6a053e4e5041183" + }, + "require": { + "drupal/core": "^9 || ^10" + }, + "type": "drupal-module", + "extra": { + "drupal": { + "version": "2.0.1", + "datestamp": "1705443097", + "security-coverage": { + "status": "covered", + "message": "Covered by Drupal's security advisory policy" + } + } + }, + "notification-url": "https://packages.drupal.org/8/downloads", + "license": [ + "GPL-2.0+" + ], + "authors": [ + { + "name": "awm", + "homepage": "https://www.drupal.org/user/1059398" + }, + { + "name": "hanoii", + "homepage": "https://www.drupal.org/user/23157" + }, + { + "name": "ironsizide", + "homepage": "https://www.drupal.org/user/787980" + }, + { + "name": "iStryker", + "homepage": "https://www.drupal.org/user/303676" + }, + { + "name": "RobLoach", + "homepage": "https://www.drupal.org/user/61114" + }, + { + "name": "tyler.frankenstein", + "homepage": "https://www.drupal.org/user/150680" + } + ], + "description": "Add caption to image field.", + "homepage": "https://www.drupal.org/project/image_field_caption", + "support": { + "source": "https://git.drupalcode.org/project/image_field_caption", + "issues": "https://www.drupal.org/project/issues/image_field_caption" + } + }, { "name": "drupal/imagemagick", "version": "3.7.0", @@ -4596,6 +4722,113 @@ "source": "https://git.drupalcode.org/project/jquery_ui_datepicker" } }, + { + "name": "drupal/jquery_ui_draggable", + "version": "2.0.0", + "source": { + "type": "git", + "url": "https://git.drupalcode.org/project/jquery_ui_draggable.git", + "reference": "2.0.0" + }, + "dist": { + "type": "zip", + "url": "https://ftp.drupal.org/files/projects/jquery_ui_draggable-2.0.0.zip", + "reference": "2.0.0", + "shasum": "13a8f4bf037449cd176ddb967fc9cba9a466a705" + }, + "require": { + "drupal/core": "^9.2 || ^10", + "drupal/jquery_ui": "^1.6" + }, + "type": "drupal-module", + "extra": { + "drupal": { + "version": "2.0.0", + "datestamp": "1670871516", + "security-coverage": { + "status": "covered", + "message": "Covered by Drupal's security advisory policy" + } + } + }, + "notification-url": "https://packages.drupal.org/8/downloads", + "license": [ + "GPL-2.0-or-later" + ], + "authors": [ + { + "name": "bnjmnm", + "homepage": "https://www.drupal.org/user/2369194" + }, + { + "name": "lauriii", + "homepage": "https://www.drupal.org/user/1078742" + }, + { + "name": "zrpnr", + "homepage": "https://www.drupal.org/user/1448368" + } + ], + "description": "Provides jQuery UI Draggable library.", + "homepage": "https://www.drupal.org/project/jquery_ui_draggable", + "support": { + "source": "https://git.drupalcode.org/project/jquery_ui_draggable" + } + }, + { + "name": "drupal/jquery_ui_droppable", + "version": "2.0.0", + "source": { + "type": "git", + "url": "https://git.drupalcode.org/project/jquery_ui_droppable.git", + "reference": "2.0.0" + }, + "dist": { + "type": "zip", + "url": "https://ftp.drupal.org/files/projects/jquery_ui_droppable-2.0.0.zip", + "reference": "2.0.0", + "shasum": "758f52e68b04e74f1a96240b22090fcae1945898" + }, + "require": { + "drupal/core": "^9.2 || ^10", + "drupal/jquery_ui": "^1.6", + "drupal/jquery_ui_draggable": "^2" + }, + "type": "drupal-module", + "extra": { + "drupal": { + "version": "2.0.0", + "datestamp": "1670871520", + "security-coverage": { + "status": "covered", + "message": "Covered by Drupal's security advisory policy" + } + } + }, + "notification-url": "https://packages.drupal.org/8/downloads", + "license": [ + "GPL-2.0-or-later" + ], + "authors": [ + { + "name": "bnjmnm", + "homepage": "https://www.drupal.org/user/2369194" + }, + { + "name": "lauriii", + "homepage": "https://www.drupal.org/user/1078742" + }, + { + "name": "zrpnr", + "homepage": "https://www.drupal.org/user/1448368" + } + ], + "description": "Provides jQuery UI Droppable library.", + "homepage": "https://www.drupal.org/project/jquery_ui_droppable", + "support": { + "source": "https://git.drupalcode.org/project/jquery_ui_droppable" + } + }, { "name": "drupal/jquery_ui_slider", "version": "2.0.0", @@ -5430,6 +5663,77 @@ "docs": "https://www.drupal.org/docs/8/modules/metatag" } }, + { + "name": "drupal/page_manager", + "version": "4.0.0-rc2", + "source": { + "type": "git", + "url": "https://git.drupalcode.org/project/page_manager.git", + "reference": "8.x-4.0-rc2" + }, + "dist": { + "type": "zip", + "url": "https://ftp.drupal.org/files/projects/page_manager-8.x-4.0-rc2.zip", + "reference": "8.x-4.0-rc2", + "shasum": "4a1e96284c5775343fbb4612072a2abfc83ebc33" + }, + "require": { + "drupal/core": "^9.3 || ^10", + "drupal/ctools": "^3.11 || ^4.0" + }, + "type": "drupal-module", + "extra": { + "drupal": { + "version": "8.x-4.0-rc2", + "datestamp": "1671210021", + "security-coverage": { + "status": "not-covered", + "message": "RC releases are not covered by Drupal security advisories." + } + }, + "branch-alias": { + "dev-8.x-4.x": "4.x-dev" + } + }, + "notification-url": "https://packages.drupal.org/8/downloads", + "license": [ + "GPL-2.0-or-later" + ], + "authors": [ + { + "name": "Tim Plunkett", + "homepage": "https://www.drupal.org/u/tim.plunkett", + "role": "Maintainer" + }, + { + "name": "EclipseGc", + "homepage": "https://www.drupal.org/user/61203" + }, + { + "name": "japerry", + "homepage": "https://www.drupal.org/user/45640" + }, + { + "name": "joelpittet", + "homepage": "https://www.drupal.org/user/160302" + }, + { + "name": "manuel.adan", + "homepage": "https://www.drupal.org/user/516420" + }, + { + "name": "phenaproxima", + "homepage": "https://www.drupal.org/user/205645" + } + ], + "description": "Provides a way to place blocks on a custom page.", + "homepage": "https://www.drupal.org/project/page_manager", + "support": { + "source": "https://git.drupal.org/project/page_manager.git", + "issues": "https://www.drupal.org/project/issues/page_manager", + "irc": "irc://irc.freenode.org/drupal-contribute" + } + }, { "name": "drupal/pagerer", "version": "3.1.0", @@ -5474,6 +5778,93 @@ "source": "https://git.drupalcode.org/project/pagerer" } }, + { + "name": "drupal/panels", + "version": "4.8.0", + "source": { + "type": "git", + "url": "https://git.drupalcode.org/project/panels.git", + "reference": "8.x-4.8" + }, + "dist": { + "type": "zip", + "url": "https://ftp.drupal.org/files/projects/panels-8.x-4.8.zip", + "reference": "8.x-4.8", + "shasum": "0b947a1af3b2479c8f38d94f8f065e788d023063" + }, + "require": { + "drupal/core": "^9.2 || ^10", + "drupal/ctools": "^3.12 || ^4.0", + "drupal/jquery_ui_droppable": "^1.0 || ^2.0" + }, + "require-dev": { + "drupal/jquery_ui_droppable": "*", + "drupal/page_manager": "^4" + }, + "type": "drupal-module", + "extra": { + "drupal": { + "version": "8.x-4.8", + "datestamp": "1718663806", + "security-coverage": { + "status": "covered", + "message": "Covered by Drupal's security advisory policy" + } + }, + "branch-alias": { + "dev-8.x-4.x": "4.x-dev" + } + }, + "notification-url": "https://packages.drupal.org/8/downloads", + "license": [ + "GPL-2.0+" + ], + "authors": [ + { + "name": "Jakob Perry", + "homepage": "https://www.drupal.org/u/japerry" + }, + { + "name": "Samuel Mortenson", + "homepage": "https://www.drupal.org/u/samuel.mortenson" + }, + { + "name": "See other contributors", + "homepage": "https://www.drupal.org/node/74958/committers" + }, + { + "name": "joelpittet", + "homepage": "https://www.drupal.org/user/160302" + }, + { + "name": "Letharion", + "homepage": "https://www.drupal.org/user/373603" + }, + { + "name": "merlinofchaos", + "homepage": "https://www.drupal.org/user/26979" + }, + { + "name": "neclimdul", + "homepage": "https://www.drupal.org/user/48673" + }, + { + "name": "phenaproxima", + "homepage": "https://www.drupal.org/user/205645" + }, + { + "name": "samuel.mortenson", + "homepage": "https://www.drupal.org/user/2582268" + } + ], + "description": "Core Panels display functions; provides no external UI, at least one other Panels module should be enabled.", + "homepage": "https://www.drupal.org/project/panels", + "support": { + "source": "https://git.drupalcode.org/project/panels", + "issues": "https://www.drupal.org/project/issues/panels", + "irc": "irc://irc.freenode.org/drupal-scotch" + } + }, { "name": "drupal/paragraphs", "version": "1.17.0", @@ -11961,6 +12352,7 @@ "aliases": [], "minimum-stability": "stable", "stability-flags": { + "drupal/page_manager": 5, "drupal/advanced_text_formatter": 5, "drupal/bulkdelete": 20, "drupal/config_ignore": 5, diff --git a/config/sync/config_pages.type.diaporama_home.yml b/config/sync/config_pages.type.diaporama_home.yml new file mode 100644 index 0000000..be8db76 --- /dev/null +++ b/config/sync/config_pages.type.diaporama_home.yml @@ -0,0 +1,17 @@ +uuid: 73af692b-0b02-4cb3-9e4e-9a6d9dc47c01 +langcode: fr +status: true +dependencies: { } +id: diaporama_home +label: 'Diaporama home' +token: true +context: + show_warning: true + group: + language: false + fallback: + language: '' +menu: + path: /edit/diapo-home + weight: 0 + description: '' diff --git a/config/sync/core.entity_form_display.config_pages.diaporama_home.default.yml b/config/sync/core.entity_form_display.config_pages.diaporama_home.default.yml new file mode 100644 index 0000000..b0a77cb --- /dev/null +++ b/config/sync/core.entity_form_display.config_pages.diaporama_home.default.yml @@ -0,0 +1,33 @@ +uuid: de256e83-4cc3-405d-b233-a37b610741d7 +langcode: fr +status: true +dependencies: + config: + - config_pages.type.diaporama_home + - field.field.config_pages.diaporama_home.field_images + - field.field.config_pages.diaporama_home.field_video + - image.style.thumbnail + module: + - image + - video_embed_field +id: config_pages.diaporama_home.default +targetEntityType: config_pages +bundle: diaporama_home +mode: default +content: + field_images: + type: image_image + weight: 0 + region: content + settings: + progress_indicator: throbber + preview_image_style: thumbnail + third_party_settings: { } + field_video: + type: video_embed_field_textfield + weight: 1 + region: content + settings: { } + third_party_settings: { } +hidden: + label: true diff --git a/config/sync/core.entity_view_display.config_pages.diaporama_home.default.yml b/config/sync/core.entity_view_display.config_pages.diaporama_home.default.yml new file mode 100644 index 0000000..b23c4a4 --- /dev/null +++ b/config/sync/core.entity_view_display.config_pages.diaporama_home.default.yml @@ -0,0 +1,41 @@ +uuid: 47fe233e-197c-4b3d-b473-4abafc76a3c0 +langcode: fr +status: true +dependencies: + config: + - config_pages.type.diaporama_home + - field.field.config_pages.diaporama_home.field_images + - field.field.config_pages.diaporama_home.field_video + - image.style.wide + module: + - image_field_caption + - video_embed_field +id: config_pages.diaporama_home.default +targetEntityType: config_pages +bundle: diaporama_home +mode: default +content: + field_images: + type: image_caption + label: visually_hidden + settings: + image_style: wide + image_link: '' + image_loading: + attribute: lazy + third_party_settings: { } + weight: 0 + region: content + field_video: + type: video_embed_field_video + label: visually_hidden + settings: + autoplay: true + responsive: true + width: 854 + height: 480 + third_party_settings: { } + weight: 1 + region: content +hidden: + search_api_excerpt: true diff --git a/config/sync/core.entity_view_mode.config_pages.full.yml b/config/sync/core.entity_view_mode.config_pages.full.yml new file mode 100644 index 0000000..9045316 --- /dev/null +++ b/config/sync/core.entity_view_mode.config_pages.full.yml @@ -0,0 +1,13 @@ +uuid: b5a10ad6-cab8-44d1-b251-a476c481656f +langcode: fr +status: true +dependencies: + module: + - config_pages +_core: + default_config_hash: VYERDzPNi1-oUm7KMLjol4oLcjbHr-onKbitt4dZuN0 +id: config_pages.full +label: Complet +description: '' +targetEntityType: config_pages +cache: true diff --git a/config/sync/core.extension.yml b/config/sync/core.extension.yml index ca016fa..369986d 100644 --- a/config/sync/core.extension.yml +++ b/config/sync/core.extension.yml @@ -20,6 +20,7 @@ module: config_devel: 0 config_filter: 0 config_ignore: 0 + config_pages: 0 config_translation: 0 config_update: 0 contact: 0 @@ -54,12 +55,14 @@ module: help: 0 honeypot: 0 image: 0 + image_field_caption: 0 inline_entity_form: 0 jquery_ui: 0 jquery_ui_datepicker: 0 jquery_ui_slider: 0 jquery_ui_touch_punch: 0 language: 0 + layout_discovery: 0 link: 0 link_attributes: 0 linkit: 0 @@ -77,7 +80,10 @@ module: node: 0 options: 0 page_cache: 0 + page_manager: 0 + page_manager_ui: 0 pagerer: 0 + panels: 0 path: 0 path_alias: 0 path_alias_xt: 0 diff --git a/config/sync/field.field.config_pages.diaporama_home.field_images.yml b/config/sync/field.field.config_pages.diaporama_home.field_images.yml new file mode 100644 index 0000000..5debc3b --- /dev/null +++ b/config/sync/field.field.config_pages.diaporama_home.field_images.yml @@ -0,0 +1,41 @@ +uuid: 1dbcdd08-25a7-4cb9-95fd-094127f06029 +langcode: fr +status: true +dependencies: + config: + - config_pages.type.diaporama_home + - field.storage.config_pages.field_images + module: + - image +id: config_pages.diaporama_home.field_images +field_name: field_images +entity_type: config_pages +bundle: diaporama_home +label: Images +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:file' + handler_settings: { } + file_directory: '[date:custom:Y]-[date:custom:m]' + file_extensions: 'png gif jpg jpeg webp' + max_filesize: '' + max_resolution: '' + min_resolution: '' + alt_field: true + alt_field_required: true + title_field: false + title_field_required: false + default_image: + uuid: '' + alt: '' + title: '' + width: null + height: null + caption: '' + caption_field: 1 + caption_field_required: 0 +field_type: image diff --git a/config/sync/field.field.config_pages.diaporama_home.field_video.yml b/config/sync/field.field.config_pages.diaporama_home.field_video.yml new file mode 100644 index 0000000..2fa5a40 --- /dev/null +++ b/config/sync/field.field.config_pages.diaporama_home.field_video.yml @@ -0,0 +1,25 @@ +uuid: 2cc238ca-bf19-4f79-83fc-f91b81537edb +langcode: fr +status: true +dependencies: + config: + - config_pages.type.diaporama_home + - field.storage.config_pages.field_video + module: + - video_embed_field +id: config_pages.diaporama_home.field_video +field_name: field_video +entity_type: config_pages +bundle: diaporama_home +label: Vidéo +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + allowed_providers: + vimeo: vimeo + youtube: youtube + youtube_playlist: '0' +field_type: video_embed_field diff --git a/config/sync/field.storage.config_pages.field_images.yml b/config/sync/field.storage.config_pages.field_images.yml new file mode 100644 index 0000000..a4f74ff --- /dev/null +++ b/config/sync/field.storage.config_pages.field_images.yml @@ -0,0 +1,30 @@ +uuid: 4913dc42-94c3-4282-8f1e-6eadcfae12ed +langcode: fr +status: true +dependencies: + module: + - config_pages + - file + - image +id: config_pages.field_images +field_name: field_images +entity_type: config_pages +type: image +settings: + target_type: file + display_field: false + display_default: false + uri_scheme: public + default_image: + uuid: '' + alt: '' + title: '' + width: null + height: null +module: image +locked: false +cardinality: -1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/field.storage.config_pages.field_video.yml b/config/sync/field.storage.config_pages.field_video.yml new file mode 100644 index 0000000..78fe46e --- /dev/null +++ b/config/sync/field.storage.config_pages.field_video.yml @@ -0,0 +1,19 @@ +uuid: feb6b1d9-3d33-48ea-bf72-4a27adb6db53 +langcode: fr +status: true +dependencies: + module: + - config_pages + - video_embed_field +id: config_pages.field_video +field_name: field_video +entity_type: config_pages +type: video_embed_field +settings: { } +module: video_embed_field +locked: false +cardinality: -1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/language/en/core.entity_view_mode.config_pages.full.yml b/config/sync/language/en/core.entity_view_mode.config_pages.full.yml new file mode 100644 index 0000000..1eb68f7 --- /dev/null +++ b/config/sync/language/en/core.entity_view_mode.config_pages.full.yml @@ -0,0 +1 @@ +label: Full diff --git a/config/sync/language/en/page_manager.page.node_view.yml b/config/sync/language/en/page_manager.page.node_view.yml new file mode 100644 index 0000000..be61a74 --- /dev/null +++ b/config/sync/language/en/page_manager.page.node_view.yml @@ -0,0 +1,5 @@ +label: 'Node view' +description: 'When enabled, this overrides the default Drupal behavior for displaying nodes at /node/{node}. If you add variants, you may use selection criteria such as node type or language or user access to provide different views of nodes. If no variant is selected, the default Drupal node view will be used. This page only affects nodes viewed as pages, it will not affect nodes viewed in lists or at other locations.' +parameters: + node: + label: Node diff --git a/config/sync/page_manager.page.home.yml b/config/sync/page_manager.page.home.yml new file mode 100644 index 0000000..314d53f --- /dev/null +++ b/config/sync/page_manager.page.home.yml @@ -0,0 +1,12 @@ +uuid: 79be5e13-295c-46cb-a9ac-3eea80ec7a2a +langcode: fr +status: true +dependencies: { } +id: home +label: Home +description: '' +use_admin_theme: false +path: /home +access_logic: and +access_conditions: { } +parameters: { } diff --git a/config/sync/page_manager.page.node_view.yml b/config/sync/page_manager.page.node_view.yml new file mode 100644 index 0000000..2d423bc --- /dev/null +++ b/config/sync/page_manager.page.node_view.yml @@ -0,0 +1,18 @@ +uuid: 68d7b592-3850-46e3-86c5-206aee26fe3c +langcode: fr +status: true +dependencies: { } +_core: + default_config_hash: RCVWP-yHwxSNiQORMIabDgHMEVqOMW58w80BQgRFJ4k +id: node_view +label: 'Vue du nœud' +description: 'When enabled, this overrides the default Drupal behavior for displaying nodes at /node/{node}. If you add variants, you may use selection criteria such as node type or language or user access to provide different views of nodes. If no variant is selected, the default Drupal node view will be used. This page only affects nodes viewed as pages, it will not affect nodes viewed in lists or at other locations.' +use_admin_theme: false +path: '/node/{node}' +access_logic: and +access_conditions: { } +parameters: + node: + machine_name: node + label: Nœud + type: 'entity:node' diff --git a/config/sync/page_manager.page_variant.home-panels_variant-0.yml b/config/sync/page_manager.page_variant.home-panels_variant-0.yml new file mode 100644 index 0000000..583ca0f --- /dev/null +++ b/config/sync/page_manager.page_variant.home-panels_variant-0.yml @@ -0,0 +1,67 @@ +uuid: 9981a93a-5a9c-42b4-a0aa-672ecf9256ad +langcode: fr +status: true +dependencies: + config: + - page_manager.page.home + - views.view.presentation + module: + - config_pages + - panels + - views +id: home-panels_variant-0 +label: Panels +weight: 0 +variant: panels_variant +variant_settings: + id: panels_variant + label: null + weight: 0 + uuid: 27184c64-746b-415b-8e1c-5df83be624a5 + blocks: + f1486b62-7ff8-475b-b6a1-e153b6b6fb89: + id: 'views_block:presentation-block_1' + label: '' + label_display: '0' + provider: views + context_mapping: { } + views_label: '' + items_per_page: none + exposed: { } + region: content + weight: 0 + uuid: f1486b62-7ff8-475b-b6a1-e153b6b6fb89 + css_classes: + - '' + html_id: '' + css_styles: '' + 40cf53e9-ed23-4eeb-8f75-3dc26453edae: + id: config_pages_block + label: 'ConfigPages Block' + label_display: '0' + provider: config_pages + context_mapping: { } + config_page_type: diaporama_home + config_page_view_mode: full + region: content + weight: 0 + uuid: 40cf53e9-ed23-4eeb-8f75-3dc26453edae + css_classes: + - '' + html_id: '' + css_styles: '' + page_title: '' + layout: layout_onecol + layout_settings: + label: '' + builder: standard + storage_type: page_manager + storage_id: home-panels_variant-0 + css_classes: + - '' + html_id: '' + css_styles: '' +page: home +selection_criteria: { } +selection_logic: and +static_context: { } diff --git a/config/sync/simple_sitemap_engines.bundle_settings.menu_link_content.admin.yml b/config/sync/simple_sitemap_engines.bundle_settings.menu_link_content.admin.yml new file mode 100644 index 0000000..405c243 --- /dev/null +++ b/config/sync/simple_sitemap_engines.bundle_settings.menu_link_content.admin.yml @@ -0,0 +1 @@ +index_now: false diff --git a/config/sync/system.site.yml b/config/sync/system.site.yml index 37ab82f..cb1b937 100644 --- a/config/sync/system.site.yml +++ b/config/sync/system.site.yml @@ -8,7 +8,7 @@ slogan: '' page: 403: '' 404: '' - front: /node/6 + front: /home admin_compact_mode: false weight_select_max: 100 default_langcode: fr diff --git a/config/sync/user.role.anonymous.yml b/config/sync/user.role.anonymous.yml index bf810a1..6ac9fd8 100644 --- a/config/sync/user.role.anonymous.yml +++ b/config/sync/user.role.anonymous.yml @@ -3,6 +3,7 @@ langcode: fr status: true dependencies: module: + - config_pages - devel - system _core: @@ -14,3 +15,4 @@ is_admin: false permissions: - 'access content' - 'access devel information' + - 'view diaporama_home config page entity' diff --git a/config/sync/user.role.authenticated.yml b/config/sync/user.role.authenticated.yml index ca66f2b..77d30c7 100644 --- a/config/sync/user.role.authenticated.yml +++ b/config/sync/user.role.authenticated.yml @@ -3,6 +3,7 @@ langcode: fr status: true dependencies: module: + - config_pages - devel - matomo - system @@ -16,3 +17,4 @@ permissions: - 'access content' - 'access devel information' - 'opt-in or out of matomo tracking' + - 'view diaporama_home config page entity' diff --git a/config/sync/user.role.editeur.yml b/config/sync/user.role.editeur.yml index 5a7fbda..6104857 100644 --- a/config/sync/user.role.editeur.yml +++ b/config/sync/user.role.editeur.yml @@ -8,6 +8,7 @@ dependencies: - node.type.static module: - actions_permissions + - config_pages - content_translation - filter - locale @@ -29,6 +30,7 @@ permissions: - 'create static content' - 'edit any partenaire content' - 'edit any static content' + - 'edit diaporama_home config page entity' - 'execute entity:save_action node' - 'execute node_assign_owner_action node' - 'execute node_make_sticky_action node' diff --git a/config/sync/views.view.presentation.yml b/config/sync/views.view.presentation.yml new file mode 100644 index 0000000..e5d294d --- /dev/null +++ b/config/sync/views.view.presentation.yml @@ -0,0 +1,238 @@ +uuid: 9dd0ef4f-44ef-4c88-b3c6-f1ddebc68759 +langcode: fr +status: true +dependencies: + config: + - core.entity_view_mode.node.full + - node.type.static + module: + - node + - user +id: presentation +label: Presentation +module: views +description: '' +tag: '' +base_table: node_field_data +base_field: nid +display: + default: + id: default + display_title: Default + display_plugin: default + position: 0 + display_options: + fields: + title: + id: title + table: node_field_data + field: title + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: title + plugin_id: field + label: '' + exclude: false + alter: + alter_text: false + make_link: false + absolute: false + word_boundary: false + ellipsis: false + strip_tags: false + trim: false + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: string + settings: + link_to_entity: true + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + pager: + type: mini + options: + offset: 0 + items_per_page: 10 + total_pages: null + id: 0 + tags: + next: ›› + previous: ‹‹ + expose: + items_per_page: false + items_per_page_label: 'Éléments par page' + items_per_page_options: '5, 10, 25, 50' + items_per_page_options_all: false + items_per_page_options_all_label: '- Tout -' + offset: false + offset_label: Décalage + exposed_form: + type: basic + options: + submit_button: Appliquer + reset_button: false + reset_button_label: Réinitialiser + exposed_sorts_label: 'Trier par' + expose_sort_order: true + sort_asc_label: Asc + sort_desc_label: Desc + access: + type: perm + options: + perm: 'access content' + cache: + type: tag + options: { } + empty: { } + sorts: { } + arguments: { } + filters: + status: + id: status + table: node_field_data + field: status + entity_type: node + entity_field: status + plugin_id: boolean + value: '1' + group: 1 + expose: + operator: '' + type: + id: type + table: node_field_data + field: type + entity_type: node + entity_field: type + plugin_id: bundle + value: + static: static + nid: + id: nid + table: node_field_data + field: nid + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: nid + plugin_id: numeric + operator: '=' + value: + min: '' + max: '' + value: '6' + group: 1 + exposed: false + expose: + operator_id: '' + label: '' + description: '' + use_operator: false + operator: '' + operator_limit_selection: false + operator_list: { } + identifier: '' + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + min_placeholder: '' + max_placeholder: '' + placeholder: '' + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + style: + type: default + options: + grouping: { } + row_class: '' + default_row_class: true + uses_fields: false + row: + type: 'entity:node' + options: + relationship: none + view_mode: full + query: + type: views_query + options: + query_comment: '' + disable_sql_rewrite: false + distinct: false + replica: false + query_tags: { } + relationships: { } + header: { } + footer: { } + display_extenders: + matomo: + enabled: false + keyword_gets: '' + keyword_behavior: first + keyword_concat_separator: ' ' + category_behavior: none + category_gets: '' + category_concat_separator: ' ' + category_fallback: '' + category_facets: { } + category_facets_concat_separator: ', ' + simple_sitemap_display_extender: { } + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url.query_args + - 'user.node_grants:view' + - user.permissions + tags: { } + block_1: + id: block_1 + display_title: Bloc + display_plugin: block + position: 1 + display_options: + display_extenders: { } + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url.query_args + - 'user.node_grants:view' + - user.permissions + tags: { } From 3aa14e3d8f20729964d839a9f04bf4f233f51b67 Mon Sep 17 00:00:00 2001 From: bach Date: Thu, 4 Jul 2024 16:04:17 +0200 Subject: [PATCH 2/2] =?UTF-8?q?d=C3=A9roulement?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/sync/config_pages.type.deroulement.yml | 17 ++++ ...splay.config_pages.deroulement.default.yml | 34 +++++++ ...ay.paragraph.phase_deroulement.default.yml | 88 +++++++++++++++++++ ...splay.config_pages.deroulement.default.yml | 25 ++++++ ...ay.paragraph.phase_deroulement.default.yml | 86 ++++++++++++++++++ ...d.config_pages.deroulement.field_phase.yml | 34 +++++++ ...h.phase_deroulement.field_date_a_annee.yml | 19 ++++ ...ph.phase_deroulement.field_date_a_jour.yml | 19 ++++ ...aph.phase_deroulement.field_date_a_moi.yml | 19 ++++ ....phase_deroulement.field_date_de_annee.yml | 19 ++++ ...h.phase_deroulement.field_date_de_jour.yml | 19 ++++ ...ph.phase_deroulement.field_date_de_moi.yml | 19 ++++ ...ph.phase_deroulement.field_description.yml | 24 +++++ ...aragraph.phase_deroulement.field_titre.yml | 19 ++++ ...field.storage.config_pages.field_phase.yml | 21 +++++ ...d.storage.paragraph.field_date_a_annee.yml | 21 +++++ ...ld.storage.paragraph.field_date_a_jour.yml | 21 +++++ ...eld.storage.paragraph.field_date_a_moi.yml | 21 +++++ ....storage.paragraph.field_date_de_annee.yml | 21 +++++ ...d.storage.paragraph.field_date_de_jour.yml | 21 +++++ ...ld.storage.paragraph.field_date_de_moi.yml | 21 +++++ ...ld.storage.paragraph.field_description.yml | 19 ++++ .../field.storage.paragraph.field_titre.yml | 21 +++++ ...ger.page_variant.home-panels_variant-0.yml | 19 +++- ...aphs.paragraphs_type.phase_deroulement.yml | 10 +++ config/sync/user.role.admin.yml | 3 + config/sync/user.role.anonymous.yml | 1 + config/sync/user.role.authenticated.yml | 1 + config/sync/user.role.editeur.yml | 1 + 29 files changed, 661 insertions(+), 2 deletions(-) create mode 100644 config/sync/config_pages.type.deroulement.yml create mode 100644 config/sync/core.entity_form_display.config_pages.deroulement.default.yml create mode 100644 config/sync/core.entity_form_display.paragraph.phase_deroulement.default.yml create mode 100644 config/sync/core.entity_view_display.config_pages.deroulement.default.yml create mode 100644 config/sync/core.entity_view_display.paragraph.phase_deroulement.default.yml create mode 100644 config/sync/field.field.config_pages.deroulement.field_phase.yml create mode 100644 config/sync/field.field.paragraph.phase_deroulement.field_date_a_annee.yml create mode 100644 config/sync/field.field.paragraph.phase_deroulement.field_date_a_jour.yml create mode 100644 config/sync/field.field.paragraph.phase_deroulement.field_date_a_moi.yml create mode 100644 config/sync/field.field.paragraph.phase_deroulement.field_date_de_annee.yml create mode 100644 config/sync/field.field.paragraph.phase_deroulement.field_date_de_jour.yml create mode 100644 config/sync/field.field.paragraph.phase_deroulement.field_date_de_moi.yml create mode 100644 config/sync/field.field.paragraph.phase_deroulement.field_description.yml create mode 100644 config/sync/field.field.paragraph.phase_deroulement.field_titre.yml create mode 100644 config/sync/field.storage.config_pages.field_phase.yml create mode 100644 config/sync/field.storage.paragraph.field_date_a_annee.yml create mode 100644 config/sync/field.storage.paragraph.field_date_a_jour.yml create mode 100644 config/sync/field.storage.paragraph.field_date_a_moi.yml create mode 100644 config/sync/field.storage.paragraph.field_date_de_annee.yml create mode 100644 config/sync/field.storage.paragraph.field_date_de_jour.yml create mode 100644 config/sync/field.storage.paragraph.field_date_de_moi.yml create mode 100644 config/sync/field.storage.paragraph.field_description.yml create mode 100644 config/sync/field.storage.paragraph.field_titre.yml create mode 100644 config/sync/paragraphs.paragraphs_type.phase_deroulement.yml diff --git a/config/sync/config_pages.type.deroulement.yml b/config/sync/config_pages.type.deroulement.yml new file mode 100644 index 0000000..006c859 --- /dev/null +++ b/config/sync/config_pages.type.deroulement.yml @@ -0,0 +1,17 @@ +uuid: cb25152b-00e7-45ee-b4f6-66fb93ca7c90 +langcode: fr +status: true +dependencies: { } +id: deroulement +label: Déroulement +token: true +context: + show_warning: true + group: + language: false + fallback: + language: '' +menu: + path: /edit/deroulement + weight: 0 + description: '' diff --git a/config/sync/core.entity_form_display.config_pages.deroulement.default.yml b/config/sync/core.entity_form_display.config_pages.deroulement.default.yml new file mode 100644 index 0000000..eb09684 --- /dev/null +++ b/config/sync/core.entity_form_display.config_pages.deroulement.default.yml @@ -0,0 +1,34 @@ +uuid: 4742e00f-141c-4679-ba62-a23b7bd02295 +langcode: fr +status: true +dependencies: + config: + - config_pages.type.deroulement + - field.field.config_pages.deroulement.field_phase + module: + - paragraphs +id: config_pages.deroulement.default +targetEntityType: config_pages +bundle: deroulement +mode: default +content: + field_phase: + type: paragraphs + weight: 0 + region: content + settings: + title: Paragraphe + title_plural: Paragraphs + edit_mode: open + closed_mode: summary + autocollapse: none + closed_mode_threshold: 0 + add_mode: dropdown + form_display_mode: default + default_paragraph_type: '' + features: + collapse_edit_all: collapse_edit_all + duplicate: duplicate + third_party_settings: { } +hidden: + label: true diff --git a/config/sync/core.entity_form_display.paragraph.phase_deroulement.default.yml b/config/sync/core.entity_form_display.paragraph.phase_deroulement.default.yml new file mode 100644 index 0000000..a8cf100 --- /dev/null +++ b/config/sync/core.entity_form_display.paragraph.phase_deroulement.default.yml @@ -0,0 +1,88 @@ +uuid: 0586493c-45e3-41e4-90f5-c7c8e03ef3ec +langcode: fr +status: true +dependencies: + config: + - field.field.paragraph.phase_deroulement.field_date_a_annee + - field.field.paragraph.phase_deroulement.field_date_a_jour + - field.field.paragraph.phase_deroulement.field_date_a_moi + - field.field.paragraph.phase_deroulement.field_date_de_annee + - field.field.paragraph.phase_deroulement.field_date_de_jour + - field.field.paragraph.phase_deroulement.field_date_de_moi + - field.field.paragraph.phase_deroulement.field_description + - field.field.paragraph.phase_deroulement.field_titre + - paragraphs.paragraphs_type.phase_deroulement + module: + - text +id: paragraph.phase_deroulement.default +targetEntityType: paragraph +bundle: phase_deroulement +mode: default +content: + field_date_a_annee: + type: string_textfield + weight: 5 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + field_date_a_jour: + type: string_textfield + weight: 3 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + field_date_a_moi: + type: string_textfield + weight: 4 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + field_date_de_annee: + type: string_textfield + weight: 2 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + field_date_de_jour: + type: string_textfield + weight: 0 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + field_date_de_moi: + type: string_textfield + weight: 1 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + field_description: + type: text_textarea + weight: 7 + region: content + settings: + rows: 5 + placeholder: '' + third_party_settings: { } + field_titre: + type: string_textfield + weight: 6 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } +hidden: + created: true + status: true diff --git a/config/sync/core.entity_view_display.config_pages.deroulement.default.yml b/config/sync/core.entity_view_display.config_pages.deroulement.default.yml new file mode 100644 index 0000000..5571332 --- /dev/null +++ b/config/sync/core.entity_view_display.config_pages.deroulement.default.yml @@ -0,0 +1,25 @@ +uuid: f3b57d68-75e7-4860-9c5d-33bf34cd2d0d +langcode: fr +status: true +dependencies: + config: + - config_pages.type.deroulement + - field.field.config_pages.deroulement.field_phase + module: + - entity_reference_revisions +id: config_pages.deroulement.default +targetEntityType: config_pages +bundle: deroulement +mode: default +content: + field_phase: + type: entity_reference_revisions_entity_view + label: visually_hidden + settings: + view_mode: default + link: '' + third_party_settings: { } + weight: 0 + region: content +hidden: + search_api_excerpt: true diff --git a/config/sync/core.entity_view_display.paragraph.phase_deroulement.default.yml b/config/sync/core.entity_view_display.paragraph.phase_deroulement.default.yml new file mode 100644 index 0000000..f2b5ae9 --- /dev/null +++ b/config/sync/core.entity_view_display.paragraph.phase_deroulement.default.yml @@ -0,0 +1,86 @@ +uuid: c58e2482-a994-43e2-8866-8a87544a6a30 +langcode: fr +status: true +dependencies: + config: + - field.field.paragraph.phase_deroulement.field_date_a_annee + - field.field.paragraph.phase_deroulement.field_date_a_jour + - field.field.paragraph.phase_deroulement.field_date_a_moi + - field.field.paragraph.phase_deroulement.field_date_de_annee + - field.field.paragraph.phase_deroulement.field_date_de_jour + - field.field.paragraph.phase_deroulement.field_date_de_moi + - field.field.paragraph.phase_deroulement.field_description + - field.field.paragraph.phase_deroulement.field_titre + - paragraphs.paragraphs_type.phase_deroulement + module: + - text +id: paragraph.phase_deroulement.default +targetEntityType: paragraph +bundle: phase_deroulement +mode: default +content: + field_date_a_annee: + type: string + label: visually_hidden + settings: + link_to_entity: false + third_party_settings: { } + weight: 5 + region: content + field_date_a_jour: + type: string + label: visually_hidden + settings: + link_to_entity: false + third_party_settings: { } + weight: 3 + region: content + field_date_a_moi: + type: string + label: visually_hidden + settings: + link_to_entity: false + third_party_settings: { } + weight: 4 + region: content + field_date_de_annee: + type: string + label: visually_hidden + settings: + link_to_entity: false + third_party_settings: { } + weight: 2 + region: content + field_date_de_jour: + type: string + label: visually_hidden + settings: + link_to_entity: false + third_party_settings: { } + weight: 0 + region: content + field_date_de_moi: + type: string + label: visually_hidden + settings: + link_to_entity: false + third_party_settings: { } + weight: 1 + region: content + field_description: + type: text_default + label: above + settings: { } + third_party_settings: { } + weight: 7 + region: content + field_titre: + type: string + label: visually_hidden + settings: + link_to_entity: false + third_party_settings: { } + weight: 6 + region: content +hidden: + search_api_excerpt: true diff --git a/config/sync/field.field.config_pages.deroulement.field_phase.yml b/config/sync/field.field.config_pages.deroulement.field_phase.yml new file mode 100644 index 0000000..26786ef --- /dev/null +++ b/config/sync/field.field.config_pages.deroulement.field_phase.yml @@ -0,0 +1,34 @@ +uuid: 7875164f-4a19-4a38-a6ce-696fc1c29da4 +langcode: fr +status: true +dependencies: + config: + - config_pages.type.deroulement + - field.storage.config_pages.field_phase + - paragraphs.paragraphs_type.phase_deroulement + module: + - entity_reference_revisions +id: config_pages.deroulement.field_phase +field_name: field_phase +entity_type: config_pages +bundle: deroulement +label: Phase +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:paragraph' + handler_settings: + target_bundles: + phase_deroulement: phase_deroulement + negate: 0 + target_bundles_drag_drop: + phase_deroulement: + weight: 3 + enabled: true + static_parts: + weight: 4 + enabled: false +field_type: entity_reference_revisions diff --git a/config/sync/field.field.paragraph.phase_deroulement.field_date_a_annee.yml b/config/sync/field.field.paragraph.phase_deroulement.field_date_a_annee.yml new file mode 100644 index 0000000..43bb8fe --- /dev/null +++ b/config/sync/field.field.paragraph.phase_deroulement.field_date_a_annee.yml @@ -0,0 +1,19 @@ +uuid: 72764183-5193-4c7c-8a71-3f3eeb6080be +langcode: fr +status: true +dependencies: + config: + - field.storage.paragraph.field_date_a_annee + - paragraphs.paragraphs_type.phase_deroulement +id: paragraph.phase_deroulement.field_date_a_annee +field_name: field_date_a_annee +entity_type: paragraph +bundle: phase_deroulement +label: 'date à : année' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: string diff --git a/config/sync/field.field.paragraph.phase_deroulement.field_date_a_jour.yml b/config/sync/field.field.paragraph.phase_deroulement.field_date_a_jour.yml new file mode 100644 index 0000000..bc41361 --- /dev/null +++ b/config/sync/field.field.paragraph.phase_deroulement.field_date_a_jour.yml @@ -0,0 +1,19 @@ +uuid: 3524193e-5aed-4625-a7c4-3255a953813d +langcode: fr +status: true +dependencies: + config: + - field.storage.paragraph.field_date_a_jour + - paragraphs.paragraphs_type.phase_deroulement +id: paragraph.phase_deroulement.field_date_a_jour +field_name: field_date_a_jour +entity_type: paragraph +bundle: phase_deroulement +label: 'date à : jour' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: string diff --git a/config/sync/field.field.paragraph.phase_deroulement.field_date_a_moi.yml b/config/sync/field.field.paragraph.phase_deroulement.field_date_a_moi.yml new file mode 100644 index 0000000..5bfb533 --- /dev/null +++ b/config/sync/field.field.paragraph.phase_deroulement.field_date_a_moi.yml @@ -0,0 +1,19 @@ +uuid: 9460a5f6-b131-412f-a3dd-c8707371276a +langcode: fr +status: true +dependencies: + config: + - field.storage.paragraph.field_date_a_moi + - paragraphs.paragraphs_type.phase_deroulement +id: paragraph.phase_deroulement.field_date_a_moi +field_name: field_date_a_moi +entity_type: paragraph +bundle: phase_deroulement +label: 'date à : moi' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: string diff --git a/config/sync/field.field.paragraph.phase_deroulement.field_date_de_annee.yml b/config/sync/field.field.paragraph.phase_deroulement.field_date_de_annee.yml new file mode 100644 index 0000000..fb2d6f1 --- /dev/null +++ b/config/sync/field.field.paragraph.phase_deroulement.field_date_de_annee.yml @@ -0,0 +1,19 @@ +uuid: 52fd703e-ea8b-426e-a477-72d36e578bb0 +langcode: fr +status: true +dependencies: + config: + - field.storage.paragraph.field_date_de_annee + - paragraphs.paragraphs_type.phase_deroulement +id: paragraph.phase_deroulement.field_date_de_annee +field_name: field_date_de_annee +entity_type: paragraph +bundle: phase_deroulement +label: 'date de : année' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: string diff --git a/config/sync/field.field.paragraph.phase_deroulement.field_date_de_jour.yml b/config/sync/field.field.paragraph.phase_deroulement.field_date_de_jour.yml new file mode 100644 index 0000000..e9c35f3 --- /dev/null +++ b/config/sync/field.field.paragraph.phase_deroulement.field_date_de_jour.yml @@ -0,0 +1,19 @@ +uuid: 9a5647c5-ca67-471b-9ef0-6f548bfb26cc +langcode: fr +status: true +dependencies: + config: + - field.storage.paragraph.field_date_de_jour + - paragraphs.paragraphs_type.phase_deroulement +id: paragraph.phase_deroulement.field_date_de_jour +field_name: field_date_de_jour +entity_type: paragraph +bundle: phase_deroulement +label: 'date de : jour' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: string diff --git a/config/sync/field.field.paragraph.phase_deroulement.field_date_de_moi.yml b/config/sync/field.field.paragraph.phase_deroulement.field_date_de_moi.yml new file mode 100644 index 0000000..8c104aa --- /dev/null +++ b/config/sync/field.field.paragraph.phase_deroulement.field_date_de_moi.yml @@ -0,0 +1,19 @@ +uuid: b55ffc94-112f-4ccc-bb52-0579de36a5ad +langcode: fr +status: true +dependencies: + config: + - field.storage.paragraph.field_date_de_moi + - paragraphs.paragraphs_type.phase_deroulement +id: paragraph.phase_deroulement.field_date_de_moi +field_name: field_date_de_moi +entity_type: paragraph +bundle: phase_deroulement +label: 'date de : moi' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: string diff --git a/config/sync/field.field.paragraph.phase_deroulement.field_description.yml b/config/sync/field.field.paragraph.phase_deroulement.field_description.yml new file mode 100644 index 0000000..7355560 --- /dev/null +++ b/config/sync/field.field.paragraph.phase_deroulement.field_description.yml @@ -0,0 +1,24 @@ +uuid: a92373f3-f3de-427f-b059-176f459008e5 +langcode: fr +status: true +dependencies: + config: + - field.storage.paragraph.field_description + - filter.format.wysiwyg + - paragraphs.paragraphs_type.phase_deroulement + module: + - text +id: paragraph.phase_deroulement.field_description +field_name: field_description +entity_type: paragraph +bundle: phase_deroulement +label: Description +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + allowed_formats: + - wysiwyg +field_type: text_long diff --git a/config/sync/field.field.paragraph.phase_deroulement.field_titre.yml b/config/sync/field.field.paragraph.phase_deroulement.field_titre.yml new file mode 100644 index 0000000..3fe9ec4 --- /dev/null +++ b/config/sync/field.field.paragraph.phase_deroulement.field_titre.yml @@ -0,0 +1,19 @@ +uuid: 78f8b4f3-972b-4976-9954-95cdac05d654 +langcode: fr +status: true +dependencies: + config: + - field.storage.paragraph.field_titre + - paragraphs.paragraphs_type.phase_deroulement +id: paragraph.phase_deroulement.field_titre +field_name: field_titre +entity_type: paragraph +bundle: phase_deroulement +label: Titre +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: string diff --git a/config/sync/field.storage.config_pages.field_phase.yml b/config/sync/field.storage.config_pages.field_phase.yml new file mode 100644 index 0000000..83cf55b --- /dev/null +++ b/config/sync/field.storage.config_pages.field_phase.yml @@ -0,0 +1,21 @@ +uuid: c3032327-f7ad-4318-82a5-c3f5dd6b9ab7 +langcode: fr +status: true +dependencies: + module: + - config_pages + - entity_reference_revisions + - paragraphs +id: config_pages.field_phase +field_name: field_phase +entity_type: config_pages +type: entity_reference_revisions +settings: + target_type: paragraph +module: entity_reference_revisions +locked: false +cardinality: -1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/field.storage.paragraph.field_date_a_annee.yml b/config/sync/field.storage.paragraph.field_date_a_annee.yml new file mode 100644 index 0000000..66c9bf1 --- /dev/null +++ b/config/sync/field.storage.paragraph.field_date_a_annee.yml @@ -0,0 +1,21 @@ +uuid: 43407301-3c26-4c14-bdfc-e541fb280f63 +langcode: fr +status: true +dependencies: + module: + - paragraphs +id: paragraph.field_date_a_annee +field_name: field_date_a_annee +entity_type: paragraph +type: string +settings: + max_length: 255 + case_sensitive: false + is_ascii: false +module: core +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/field.storage.paragraph.field_date_a_jour.yml b/config/sync/field.storage.paragraph.field_date_a_jour.yml new file mode 100644 index 0000000..0428ca0 --- /dev/null +++ b/config/sync/field.storage.paragraph.field_date_a_jour.yml @@ -0,0 +1,21 @@ +uuid: acf2f7dc-8558-47b1-9a45-dc2097f52a62 +langcode: fr +status: true +dependencies: + module: + - paragraphs +id: paragraph.field_date_a_jour +field_name: field_date_a_jour +entity_type: paragraph +type: string +settings: + max_length: 255 + case_sensitive: false + is_ascii: false +module: core +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/field.storage.paragraph.field_date_a_moi.yml b/config/sync/field.storage.paragraph.field_date_a_moi.yml new file mode 100644 index 0000000..5925eed --- /dev/null +++ b/config/sync/field.storage.paragraph.field_date_a_moi.yml @@ -0,0 +1,21 @@ +uuid: 7f5e63d9-1bc2-4e46-aef3-900c4d066207 +langcode: fr +status: true +dependencies: + module: + - paragraphs +id: paragraph.field_date_a_moi +field_name: field_date_a_moi +entity_type: paragraph +type: string +settings: + max_length: 255 + case_sensitive: false + is_ascii: false +module: core +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/field.storage.paragraph.field_date_de_annee.yml b/config/sync/field.storage.paragraph.field_date_de_annee.yml new file mode 100644 index 0000000..e6aef68 --- /dev/null +++ b/config/sync/field.storage.paragraph.field_date_de_annee.yml @@ -0,0 +1,21 @@ +uuid: deb6ccf7-3ab8-4ce5-a4f5-1ebe2c70244f +langcode: fr +status: true +dependencies: + module: + - paragraphs +id: paragraph.field_date_de_annee +field_name: field_date_de_annee +entity_type: paragraph +type: string +settings: + max_length: 255 + case_sensitive: false + is_ascii: false +module: core +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/field.storage.paragraph.field_date_de_jour.yml b/config/sync/field.storage.paragraph.field_date_de_jour.yml new file mode 100644 index 0000000..01392ea --- /dev/null +++ b/config/sync/field.storage.paragraph.field_date_de_jour.yml @@ -0,0 +1,21 @@ +uuid: 822acac3-eaed-4a60-9c5d-8053356afe0f +langcode: fr +status: true +dependencies: + module: + - paragraphs +id: paragraph.field_date_de_jour +field_name: field_date_de_jour +entity_type: paragraph +type: string +settings: + max_length: 255 + case_sensitive: false + is_ascii: false +module: core +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/field.storage.paragraph.field_date_de_moi.yml b/config/sync/field.storage.paragraph.field_date_de_moi.yml new file mode 100644 index 0000000..d388abf --- /dev/null +++ b/config/sync/field.storage.paragraph.field_date_de_moi.yml @@ -0,0 +1,21 @@ +uuid: 34c9efee-6698-4b07-9325-761cdc0e2e5c +langcode: fr +status: true +dependencies: + module: + - paragraphs +id: paragraph.field_date_de_moi +field_name: field_date_de_moi +entity_type: paragraph +type: string +settings: + max_length: 255 + case_sensitive: false + is_ascii: false +module: core +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/field.storage.paragraph.field_description.yml b/config/sync/field.storage.paragraph.field_description.yml new file mode 100644 index 0000000..b539bb6 --- /dev/null +++ b/config/sync/field.storage.paragraph.field_description.yml @@ -0,0 +1,19 @@ +uuid: f8b0412a-7b06-45e7-9518-16a51bf36bf5 +langcode: fr +status: true +dependencies: + module: + - paragraphs + - text +id: paragraph.field_description +field_name: field_description +entity_type: paragraph +type: text_long +settings: { } +module: text +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/field.storage.paragraph.field_titre.yml b/config/sync/field.storage.paragraph.field_titre.yml new file mode 100644 index 0000000..5ef8830 --- /dev/null +++ b/config/sync/field.storage.paragraph.field_titre.yml @@ -0,0 +1,21 @@ +uuid: 13103247-5f63-4cc7-8762-6d02cd47f2e4 +langcode: fr +status: true +dependencies: + module: + - paragraphs +id: paragraph.field_titre +field_name: field_titre +entity_type: paragraph +type: string +settings: + max_length: 255 + case_sensitive: false + is_ascii: false +module: core +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/page_manager.page_variant.home-panels_variant-0.yml b/config/sync/page_manager.page_variant.home-panels_variant-0.yml index 583ca0f..751fc1b 100644 --- a/config/sync/page_manager.page_variant.home-panels_variant-0.yml +++ b/config/sync/page_manager.page_variant.home-panels_variant-0.yml @@ -37,19 +37,34 @@ variant_settings: css_styles: '' 40cf53e9-ed23-4eeb-8f75-3dc26453edae: id: config_pages_block - label: 'ConfigPages Block' + label: 'Diaporama Home' label_display: '0' provider: config_pages context_mapping: { } config_page_type: diaporama_home config_page_view_mode: full region: content - weight: 0 + weight: -1 uuid: 40cf53e9-ed23-4eeb-8f75-3dc26453edae css_classes: - '' html_id: '' css_styles: '' + 346ce88d-2925-4bf8-884d-dfbca1e8d5b6: + id: config_pages_block + label: Déroulement + label_display: '0' + provider: config_pages + context_mapping: { } + config_page_type: deroulement + config_page_view_mode: full + region: content + weight: 1 + uuid: 346ce88d-2925-4bf8-884d-dfbca1e8d5b6 + css_classes: + - '' + html_id: '' + css_styles: '' page_title: '' layout: layout_onecol layout_settings: diff --git a/config/sync/paragraphs.paragraphs_type.phase_deroulement.yml b/config/sync/paragraphs.paragraphs_type.phase_deroulement.yml new file mode 100644 index 0000000..47b833e --- /dev/null +++ b/config/sync/paragraphs.paragraphs_type.phase_deroulement.yml @@ -0,0 +1,10 @@ +uuid: 9070407e-14af-454b-97ab-30968de43895 +langcode: fr +status: true +dependencies: { } +id: phase_deroulement +label: 'Phase Déroulement' +icon_uuid: null +icon_default: null +description: '' +behavior_plugins: { } diff --git a/config/sync/user.role.admin.yml b/config/sync/user.role.admin.yml index 11a7c49..494391d 100644 --- a/config/sync/user.role.admin.yml +++ b/config/sync/user.role.admin.yml @@ -10,6 +10,7 @@ dependencies: module: - actions_permissions - block_content + - config_pages - content_translation - file - filter @@ -38,6 +39,8 @@ permissions: - 'edit any logo_link block content' - 'edit any partenaire content' - 'edit any static content' + - 'edit deroulement config page entity' + - 'edit diaporama_home config page entity' - 'execute entity:save_action menu_link_content' - 'execute entity:save_action node' - 'execute entity:save_action taxonomy_term' diff --git a/config/sync/user.role.anonymous.yml b/config/sync/user.role.anonymous.yml index 6ac9fd8..ff12bcd 100644 --- a/config/sync/user.role.anonymous.yml +++ b/config/sync/user.role.anonymous.yml @@ -15,4 +15,5 @@ is_admin: false permissions: - 'access content' - 'access devel information' + - 'view deroulement config page entity' - 'view diaporama_home config page entity' diff --git a/config/sync/user.role.authenticated.yml b/config/sync/user.role.authenticated.yml index 77d30c7..7684b54 100644 --- a/config/sync/user.role.authenticated.yml +++ b/config/sync/user.role.authenticated.yml @@ -17,4 +17,5 @@ permissions: - 'access content' - 'access devel information' - 'opt-in or out of matomo tracking' + - 'view deroulement config page entity' - 'view diaporama_home config page entity' diff --git a/config/sync/user.role.editeur.yml b/config/sync/user.role.editeur.yml index 6104857..121eb45 100644 --- a/config/sync/user.role.editeur.yml +++ b/config/sync/user.role.editeur.yml @@ -30,6 +30,7 @@ permissions: - 'create static content' - 'edit any partenaire content' - 'edit any static content' + - 'edit deroulement config page entity' - 'edit diaporama_home config page entity' - 'execute entity:save_action node' - 'execute node_assign_owner_action node'