Improve hook_language_switch_links_alter

Created on 24 May 2024, 4 months ago
Updated 29 May 2024, 4 months ago

Problem/Motivation

In the hook facets_language_switch_links_alter, the links are altered regardless of whether there are any facets present on the page.

Proposed resolution

Alter the language switcher links only if there are facets on the page.

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇷🇴Romania catalinvlad

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024