diff --git a/composer.json b/composer.json index 10217de..679f191 100644 --- a/composer.json +++ b/composer.json @@ -28,6 +28,7 @@ "drupal/migrate_tools": "^6.1", "drupal/page_manager": "^4.0@RC", "drupal/shield": "^1.8", + "drupal/structure_sync": "^2.0", "league/commonmark": "^2.8", "wikimedia/composer-merge-plugin": "^2.1" }, diff --git a/composer.lock b/composer.lock index a3b9ec8..36cef2b 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": "5bd9a2694b1628f45febf28ca3f995d7", + "content-hash": "b6910aa746da9a58dfcadde6f45bdad8", "packages": [ { "name": "asm89/stack-cors", @@ -6712,6 +6712,87 @@ "source": "https://git.drupalcode.org/project/sophron" } }, + { + "name": "drupal/structure_sync", + "version": "2.0.8", + "source": { + "type": "git", + "url": "https://git.drupalcode.org/project/structure_sync.git", + "reference": "2.0.8" + }, + "dist": { + "type": "zip", + "url": "https://ftp.drupal.org/files/projects/structure_sync-2.0.8.zip", + "reference": "2.0.8", + "shasum": "3f1bd24d7f048cdd9f49e178af9fa47d291d3525" + }, + "require": { + "drupal/core": "^8 || ^9 || ^10 || ^11", + "php": ">=7.1" + }, + "require-dev": { + "drush/drush": "^9 || ^10 || ^11 || ^12 || ^13" + }, + "type": "drupal-module", + "extra": { + "drupal": { + "version": "2.0.8", + "datestamp": "1728580642", + "security-coverage": { + "status": "covered", + "message": "Covered by Drupal's security advisory policy" + } + }, + "drush": { + "services": { + "drush.services.yml": "^9 || ^10 || ^11 || ^12 || ^13" + } + } + }, + "notification-url": "https://packages.drupal.org/8/downloads", + "license": [ + "GPL-2.0-or-later" + ], + "authors": [ + { + "name": "colan", + "homepage": "https://www.drupal.org/user/58704" + }, + { + "name": "fidovdbos", + "homepage": "https://www.drupal.org/user/1494332" + }, + { + "name": "joachim", + "homepage": "https://www.drupal.org/user/107701" + }, + { + "name": "louis-cuny", + "homepage": "https://www.drupal.org/user/3606332" + }, + { + "name": "mparker17", + "homepage": "https://www.drupal.org/user/536298" + }, + { + "name": "spiderman", + "homepage": "https://www.drupal.org/user/1631" + }, + { + "name": "timkruijsen", + "homepage": "https://www.drupal.org/user/3513437" + }, + { + "name": "vinlaurens", + "homepage": "https://www.drupal.org/user/2945689" + } + ], + "description": "Tool for syncing structural data that is stored as content.", + "homepage": "https://www.drupal.org/project/structure_sync", + "support": { + "source": "https://git.drupalcode.org/project/structure_sync" + } + }, { "name": "drupal/synonyms", "version": "2.1.4", diff --git a/config/sync/block.block.leshed_identitedusite.yml b/config/sync/block.block.leshed_identitedusite.yml new file mode 100644 index 0000000..5fe26f8 --- /dev/null +++ b/config/sync/block.block.leshed_identitedusite.yml @@ -0,0 +1,23 @@ +uuid: e2f0e1c7-b805-4c1d-8988-760ebfe8fa7d +langcode: fr +status: true +dependencies: + module: + - system + theme: + - leshed +id: leshed_identitedusite +theme: leshed +region: header_left +weight: 0 +provider: null +plugin: system_branding_block +settings: + id: system_branding_block + label: 'Identité du site' + label_display: '0' + provider: system + use_site_logo: false + use_site_name: true + use_site_slogan: true +visibility: { } diff --git a/config/sync/block.block.leshed_navigationprincipale.yml b/config/sync/block.block.leshed_navigationprincipale.yml new file mode 100644 index 0000000..f69558d --- /dev/null +++ b/config/sync/block.block.leshed_navigationprincipale.yml @@ -0,0 +1,34 @@ +uuid: 372f96d2-3992-45b6-9335-b1359d3382e2 +langcode: fr +status: true +dependencies: + config: + - system.menu.main + module: + - menu_block + theme: + - leshed +id: leshed_navigationprincipale +theme: leshed +region: header_right +weight: 0 +provider: null +plugin: 'menu_block:main' +settings: + id: 'menu_block:main' + label: 'Navigation principale' + label_display: '0' + provider: menu_block + follow: false + follow_parent: child + display_empty: false + label_link: false + label_type: block + level: 1 + depth: 0 + expand_all_items: false + parent: 'main:' + render_parent: false + suggestion: main + hide_on_nonactive: false +visibility: { } diff --git a/config/sync/core.entity_view_display.node.projet.teaser.yml b/config/sync/core.entity_view_display.node.projet.teaser.yml index 6f3c53d..e975166 100644 --- a/config/sync/core.entity_view_display.node.projet.teaser.yml +++ b/config/sync/core.entity_view_display.node.projet.teaser.yml @@ -33,10 +33,9 @@ content: weight: 2 region: content field_artiste_s_invite_s: - type: entity_reference_entity_view + type: entity_reference_label label: hidden settings: - view_mode: teaser link: false third_party_settings: { } weight: 1 diff --git a/config/sync/core.extension.yml b/config/sync/core.extension.yml index 03f0f61..aa767c1 100644 --- a/config/sync/core.extension.yml +++ b/config/sync/core.extension.yml @@ -93,6 +93,7 @@ module: shield: 0 smart_trim: 0 smtp: 0 + structure_sync: 0 system: 0 taxonomy: 0 telephone: 0 diff --git a/config/sync/structure_sync.data.yml b/config/sync/structure_sync.data.yml new file mode 100644 index 0000000..9ad113e --- /dev/null +++ b/config/sync/structure_sync.data.yml @@ -0,0 +1,14 @@ +menus: + - + menu_name: main + title: Accueil + parent: null + uri: 'internal:/' + link_title: '' + description: null + enabled: true + expanded: false + weight: 0 + langcode: fr + uuid: 75910d9e-f8a0-4dbd-930f-e37fb47de597 + options: { }