Drupal 11.1 compatibility

Created on 6 August 2025, 18 days ago

Problem/Motivation

After I've updated the core to version 11, I've got an error

TypeError: Drupal\lang_dropdown\Plugin\Block\LanguageDropdownBlock::__construct(): Argument #7 ($library_discovery) must be of type Drupal\Core\Asset\Li  
  braryDiscovery, Drupal\Core\Asset\LibraryDiscoveryCollector given, called in /var/www/html/web/modules/contrib/lang_dropdown/src/Plugin/Block/LanguageDr  
  opdownBlock.php on line 115 in Drupal\lang_dropdown\Plugin\Block\LanguageDropdownBlock->__construct() (line 101 of /var/www/html/web/modules/contrib/lan  
  g_dropdown/src/Plugin/Block/LanguageDropdownBlock.php).

( https://www.drupal.org/node/3462970 )

🐛 Bug report
Status

Active

Version

2.3

Component

Code

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

Comments & Activities

Production build 0.71.5 2024