Install

Works with Drupal: ^10 || ^11

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 10.68 KB
MD5: a27af3469e58e85ae76e620c9d2b9304
SHA-1: 6903c927b93ee355f2a808935fd9e59552e0f7ad
SHA-256: 98eb6da69181ad644c3ca3d91de29243c3852ce4385b61c1c43e6ede5236e320
Download zip 15.69 KB
MD5: de624c3a2d9aacb76adf26210012da99
SHA-1: 2e925b04fab6cfb9b317422e560772b296277110
SHA-256: c12ae3a39426e54647c146105bdaf8f3d4bc448877a6d600bdcc000a5490cfc3

Release notes

5 ### Drupal 11 Compatibility Release
6
7 **Minimum Requirements:** Drupal 10.x or Drupal 11.x | PHP 8.2+
8
9 ---
10
11 ### Summary
12
13 This release upgrades the Multilingual Google Web Translator module for full Drupal 11 compatibility while maintaining backward compatibility with Drupal 10.
14
15 ---
16
17 ### Changes
18
19 #### Core Compatibility
20 - Updated `core_version_requirement` to `^10 || ^11`
21 - Module now fully supports Drupal 11
22
23 #### Code Quality Improvements
24 - Added `declare(strict_types=1)` for strict type checking
25 - Added proper PHPDoc file header documentation
26 - Added type hints to all function parameters
27 - Added return type declarations (`: array`, `: ?string`)
28 - Modernized code to follow Drupal 11 coding standards
29
30 #### Module File Updates
31 - Refactored `hook_theme()` implementation with proper type hints
32 - Updated `hook_help()` with typed parameters and nullable return type
33 - Improved help text documentation
34
35 #### Form Updates (`LanguageSelectForm.php`)
36 - Refactored form class with modern Drupal patterns
37 - Updated method signatures with proper type declarations
38 - Improved code organization and readability
39
40 #### Block Plugin Updates (`TranslateBlock.php`)
41 - Modernized block plugin with Drupal 11 compatibility
42 - Added proper dependency injection patterns
43 - Updated annotations and method signatures

Created by: kushal bansal
Created on: 25 Jan 2026 at 12:40 UTC
Last updated: 25 Jan 2026 at 12:40 UTC
Bug fixes
New features

Other releases