Menu block current language

Categories

Component ID

2832329

Component name

Menu block current language

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

1266

Component created

Component changed

Component body

At the moment, all menu items are displayed regardless of it being translated or not. Menu block current language attempts to resolve this by providing a replacement for core's Menu block that filters out the untranslated menu links.

Usage

In order for this module to have any effect, you must replace menu blocks provided by the System module with menu blocks provided by this module.

Supported menu link types:
- Custom Menu Links (Drupalmenu_link_contentEntityMenuLinkContent)
- Views menu links (DrupalviewsPluginMenuViewsMenuLink)
- String translated links

See: https://www.drupal.org/node/2466553 for more details.

Installation

composer require drupal/menu_block_current_language

Similar modules

Menu Multilingual