diff --git a/composer.json b/composer.json index a5e829a..85d196e 100644 --- a/composer.json +++ b/composer.json @@ -27,6 +27,7 @@ "drupal/honeypot": "^2.0", "drupal/hook_event_dispatcher": "^1.28", "drupal/markdown": "^1.3", + "drupal/menu_trail_by_path": "^1.3", "drupal/metatag": "^1.11", "drupal/migrate_plus": "^5.0", "drupal/migrate_source_yaml": "^1.2", diff --git a/composer.lock b/composer.lock index 414ba46..97b1446 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": "94cf3f9b73a5a2ae184de25fd2a302b7", + "content-hash": "7bbccfb120dff2061b0ee08236ae99b3", "packages": [ { "name": "asm89/stack-cors", @@ -2712,6 +2712,66 @@ "issues": "https://www.drupal.org/project/markdown" } }, + { + "name": "drupal/menu_trail_by_path", + "version": "1.3.0", + "source": { + "type": "git", + "url": "https://git.drupalcode.org/project/menu_trail_by_path.git", + "reference": "8.x-1.3" + }, + "dist": { + "type": "zip", + "url": "https://ftp.drupal.org/files/projects/menu_trail_by_path-8.x-1.3.zip", + "reference": "8.x-1.3", + "shasum": "64ba3a163302ff132c29a75b75ca4f6cce6b24dd" + }, + "require": { + "drupal/core": "^8.8|^9.0" + }, + "type": "drupal-module", + "extra": { + "drupal": { + "version": "8.x-1.3", + "datestamp": "1586900806", + "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": "SeriousMatters", + "homepage": "https://www.drupal.org/user/290439" + }, + { + "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" + } + ], + "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/metatag", "version": "1.12.0", diff --git a/config/default/core.extension.yml b/config/default/core.extension.yml index 2138dd6..30d1d26 100644 --- a/config/default/core.extension.yml +++ b/config/default/core.extension.yml @@ -31,6 +31,7 @@ module: markdown: 0 media: 0 media_library: 0 + menu_trail_by_path: 0 menu_ui: 0 metatag: 0 migrate: 0 diff --git a/config/default/menu_trail_by_path.settings.yml b/config/default/menu_trail_by_path.settings.yml new file mode 100644 index 0000000..6f23f65 --- /dev/null +++ b/config/default/menu_trail_by_path.settings.yml @@ -0,0 +1,4 @@ +max_path_parts: 0 +trail_source: path +_core: + default_config_hash: ZgwJ8bM6k-25MIqJjDtxAs94eahFxWfBq2IuHf-qh_I