Selaa lähdekoodia

added head menu and exported it with structure_sync contrib module (had to add drush im on deploye scripts

bach 2 vuotta sitten
vanhempi
commit
05c2fd20bc

+ 1 - 0
composer.json

@@ -39,6 +39,7 @@
         "drupal/role_delegation": "^1.1",
         "drupal/selective_better_exposed_filters": "2.x-dev@dev",
         "drupal/smart_date": "^3.1",
+        "drupal/structure_sync": "^2.0",
         "drupal/video_embed_field": "^2.4",
         "geocoder-php/google-maps-provider": "^4.6",
         "geocoder-php/mapquest-provider": "^4.2",

+ 73 - 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": "2dd3de113c5bc35ec10f0855892e299b",
+    "content-hash": "031fcb88faba70428c9f0ec049e89d3e",
     "packages": [
         {
             "name": "alchemy/zippy",
@@ -8758,6 +8758,78 @@
                 "source": "https://git.drupalcode.org/project/sophron"
             }
         },
+        {
+            "name": "drupal/structure_sync",
+            "version": "2.0.2",
+            "source": {
+                "type": "git",
+                "url": "https://git.drupalcode.org/project/structure_sync.git",
+                "reference": "2.0.2"
+            },
+            "dist": {
+                "type": "zip",
+                "url": "https://ftp.drupal.org/files/projects/structure_sync-2.0.2.zip",
+                "reference": "2.0.2",
+                "shasum": "7c1cda02629cdd90113b95de2d353e8d5a7aa90e"
+            },
+            "require": {
+                "drupal/core": "^8 || ^9"
+            },
+            "type": "drupal-module",
+            "extra": {
+                "drupal": {
+                    "version": "2.0.2",
+                    "datestamp": "1614096703",
+                    "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": "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": "legolasbo",
+                    "homepage": "https://www.drupal.org/user/2480548"
+                },
+                {
+                    "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": "dev-1.x",

+ 1 - 0
config/sync/core.extension.yml

@@ -120,6 +120,7 @@ module:
   smart_date: 0
   smart_trim: 0
   smtp: 0
+  structure_sync: 0
   system: 0
   taxonomy: 0
   telephone: 0

+ 49 - 0
config/sync/structure_sync.data.yml

@@ -0,0 +1,49 @@
+menus:
+  -
+    menu_name: head
+    title: 'Qu''est-ce popsu?'
+    parent: null
+    uri: 'internal:/node/215'
+    link_title: ''
+    description: null
+    enabled: '1'
+    expanded: '0'
+    weight: '-50'
+    langcode: fr
+    uuid: d73bff0f-358b-4f0f-aa78-64299d5f0be1
+  -
+    menu_name: head
+    title: Gouvernance
+    parent: null
+    uri: 'internal:/node/218'
+    link_title: ''
+    description: null
+    enabled: '1'
+    expanded: '0'
+    weight: '-49'
+    langcode: fr
+    uuid: fd2e07b6-a9b0-4963-a497-631920f82e7b
+  -
+    menu_name: head
+    title: 'Lettre d''information'
+    parent: null
+    uri: 'internal:/node/216'
+    link_title: ''
+    description: null
+    enabled: '1'
+    expanded: '0'
+    weight: '-48'
+    langcode: fr
+    uuid: 3b828780-fa00-4f80-925a-52e32b24fa17
+  -
+    menu_name: head
+    title: Contact
+    parent: null
+    uri: 'internal:/node/217'
+    link_title: ''
+    description: null
+    enabled: '1'
+    expanded: '0'
+    weight: '0'
+    langcode: fr
+    uuid: 7249712f-fe65-40d3-a8ee-8047420bc88a

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

@@ -930,7 +930,7 @@ display:
         description: ''
         expanded: false
         parent: ''
-        weight: 0
+        weight: -47
         context: '0'
         menu_name: head
     cache_metadata: