Bladeren bron

/sitespilotes

bach 9 maanden geleden
bovenliggende
commit
51144a2e6e

+ 1 - 0
composer.json

@@ -35,6 +35,7 @@
         "drupal/login_destination": "^2.0@beta",
         "drupal/mailsystem": "^4.4",
         "drupal/matomo": "^1.23",
+        "drupal/menu_trail_by_path": "^2.0",
         "drupal/mimemail": "^1.0@alpha",
         "drupal/notify": "^2.0@beta",
         "drupal/page_manager": "^4.0@RC",

+ 61 - 1
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": "6791033095e7dafc3474d1203ca03d50",
+    "content-hash": "d325be3b3728dbf80aa71107fd2d55b1",
     "packages": [
         {
             "name": "asm89/stack-cors",
@@ -6152,6 +6152,66 @@
                 "issues": "https://www.drupal.org/project/issues/menu_position"
             }
         },
+        {
+            "name": "drupal/menu_trail_by_path",
+            "version": "2.0.1",
+            "source": {
+                "type": "git",
+                "url": "https://git.drupalcode.org/project/menu_trail_by_path.git",
+                "reference": "2.0.1"
+            },
+            "dist": {
+                "type": "zip",
+                "url": "https://ftp.drupal.org/files/projects/menu_trail_by_path-2.0.1.zip",
+                "reference": "2.0.1",
+                "shasum": "3c2c1b0ee669c26e6ccba8a345605b7c932be2bf"
+            },
+            "require": {
+                "drupal/core": "^8.8 || ^9.0 || ^10"
+            },
+            "type": "drupal-module",
+            "extra": {
+                "drupal": {
+                    "version": "2.0.1",
+                    "datestamp": "1701298206",
+                    "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": "Berdir",
+                    "homepage": "https://www.drupal.org/user/214652"
+                },
+                {
+                    "name": "davy-r",
+                    "homepage": "https://www.drupal.org/user/3278771"
+                },
+                {
+                    "name": "mbovan",
+                    "homepage": "https://www.drupal.org/user/3149657"
+                },
+                {
+                    "name": "redndahead",
+                    "homepage": "https://www.drupal.org/user/160320"
+                },
+                {
+                    "name": "SeriousMatters",
+                    "homepage": "https://www.drupal.org/user/290439"
+                }
+            ],
+            "description": "Expand menus and set active-trail according to the current path.",
+            "homepage": "https://www.drupal.org/project/menu_trail_by_path",
+            "support": {
+                "source": "https://git.drupalcode.org/project/menu_trail_by_path"
+            }
+        },
         {
             "name": "drupal/mimemail",
             "version": "1.0.0-alpha6",

+ 2 - 1
config/sync/block.block.reha_navigationprincipale.yml

@@ -5,6 +5,7 @@ dependencies:
   config:
     - system.menu.main
   module:
+    - block_class
     - menu_block
   theme:
     - reha
@@ -24,7 +25,7 @@ settings:
   label_link: false
   label_type: block
   level: 1
-  depth: 0
+  depth: 1
   expand_all_items: false
   parent: 'main:'
   suggestion: main

+ 9 - 2
config/sync/node.type.site.yml

@@ -3,11 +3,18 @@ langcode: fr
 status: true
 dependencies:
   module:
+    - autotitle
     - menu_ui
 third_party_settings:
   menu_ui:
-    available_menus: {  }
-    parent: ''
+    available_menus:
+      - main
+    parent: 'main:views_view:views.sites.page_1'
+  autotitle:
+    enabled: false
+    field: _none
+    fallback_title: 'Untitled [site]'
+    headings: {  }
 name: Site
 type: site
 description: ''

+ 1 - 1
config/sync/views.view.sites.yml

@@ -565,7 +565,7 @@ display:
           category_fallback: ''
           category_facets: {  }
           category_facets_concat_separator: ', '
-      path: lessitespilotes
+      path: sitespilotes
       menu:
         type: normal
         title: 'Les sites pilotes'