Browse Source

menu link attributes

bach 1 week ago
parent
commit
a94acd263c

+ 2 - 0
composer.json

@@ -42,6 +42,7 @@
         "drupal/masonry": "^4.0",
         "drupal/matomo": "^1.11",
         "drupal/mediteran": "^1.10",
+        "drupal/menu_link_attributes": "^1.3",
         "drupal/metatag": "^1.13",
         "drupal/page_manager": "^4.0",
         "drupal/panels": "^4.7",
@@ -60,6 +61,7 @@
         "drupal/token": "^1.13",
         "drupal/video_embed_field": "^2.4",
         "drupal/views_url_path_arguments": "^1.1",
+        "drupal/yaml_editor": "^1.2",
         "drush/drush": "^12",
         "twbs/bootstrap": "4.5.0"
     },

+ 97 - 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": "9632d7ebb3a2142309e27ef825be606e",
+    "content-hash": "31e58398ce2ac87a4b0a5356fa8c1045",
     "packages": [
         {
             "name": "asm89/stack-cors",
@@ -3212,6 +3212,58 @@
                 "source": "https://git.drupalcode.org/project/mediteran"
             }
         },
+        {
+            "name": "drupal/menu_link_attributes",
+            "version": "1.3.0",
+            "source": {
+                "type": "git",
+                "url": "https://git.drupalcode.org/project/menu_link_attributes.git",
+                "reference": "8.x-1.3"
+            },
+            "dist": {
+                "type": "zip",
+                "url": "https://ftp.drupal.org/files/projects/menu_link_attributes-8.x-1.3.zip",
+                "reference": "8.x-1.3",
+                "shasum": "431c7954cc614a1b9677173f0209f1df15592503"
+            },
+            "require": {
+                "drupal/core": "^8 || ^9 || ^10"
+            },
+            "type": "drupal-module",
+            "extra": {
+                "drupal": {
+                    "version": "8.x-1.3",
+                    "datestamp": "1671026425",
+                    "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": "jcnventura",
+                    "homepage": "https://www.drupal.org/user/122464"
+                },
+                {
+                    "name": "yannickoo",
+                    "homepage": "https://www.drupal.org/user/531118"
+                }
+            ],
+            "description": "Allows you to add attributes to menu links.",
+            "homepage": "http://drupal.org/project/menu_link_attributes",
+            "keywords": [
+                "Drupal"
+            ],
+            "support": {
+                "source": "http://cgit.drupalcode.org/menu_link_attributes",
+                "issues": "http://drupal.org/project/issues/menu_link_attributes"
+            }
+        },
         {
             "name": "drupal/metatag",
             "version": "1.26.0",
@@ -4456,6 +4508,50 @@
                 "issues": "https://www.drupal.org/project/issues/views_url_path_arguments"
             }
         },
+        {
+            "name": "drupal/yaml_editor",
+            "version": "1.2.0",
+            "source": {
+                "type": "git",
+                "url": "https://git.drupalcode.org/project/yaml_editor.git",
+                "reference": "8.x-1.2"
+            },
+            "dist": {
+                "type": "zip",
+                "url": "https://ftp.drupal.org/files/projects/yaml_editor-8.x-1.2.zip",
+                "reference": "8.x-1.2",
+                "shasum": "7dc32d1f000fafa6a6f4e65c4aeabb1ecb18d25d"
+            },
+            "require": {
+                "drupal/core": "^8 || ^9 || ^10"
+            },
+            "type": "drupal-module",
+            "extra": {
+                "drupal": {
+                    "version": "8.x-1.2",
+                    "datestamp": "1692008740",
+                    "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": "yannickoo",
+                    "homepage": "https://www.drupal.org/user/531118"
+                }
+            ],
+            "description": "Adds an editor for YAML configuration textareas.",
+            "homepage": "https://www.drupal.org/project/yaml_editor",
+            "support": {
+                "source": "https://git.drupalcode.org/project/yaml_editor"
+            }
+        },
         {
             "name": "drush/drush",
             "version": "12.4.3",

+ 2 - 0
config/sync2024/core.extension.yml

@@ -39,6 +39,7 @@ module:
   linkit: 0
   locale: 0
   matomo: 0
+  menu_link_attributes: 0
   menu_link_content: 0
   menu_ui: 0
   metatag: 0
@@ -69,6 +70,7 @@ module:
   user: 0
   video_embed_field: 0
   views_ui: 0
+  yaml_editor: 0
   pathauto: 1
   views: 10
   paragraphs: 11

+ 11 - 0
config/sync2024/menu_link_attributes.config.yml

@@ -0,0 +1,11 @@
+attributes:
+  class:
+    label: ''
+    description: ''
+  target:
+    label: ''
+    description: ''
+    options:
+      _blank: 'New window (_blank)'
+      _self: 'Same window (_self)'
+    default_value: ''

+ 5 - 0
config/sync2024/yaml_editor.config.yml

@@ -0,0 +1,5 @@
+_core:
+  default_config_hash: 4mKGKyRNSRYDyEwDqx_3zT3VIBOJO08SPoK0AEu4g7s
+langcode: fr
+editor_source: //cdnjs.cloudflare.com/ajax/libs/ace/1.2.0/ace.min.js
+editor_theme: ace/theme/chrome