Drupal 11 compatibility

Created on 21 May 2025, about 1 month ago

Problem/Motivation

This theme shows as not compatible with Drupal 11 on the Upgrade Status report.

Steps to reproduce

Install upgarde status module and run its report.

Proposed resolution

The scan shows the following:

<!-- THEME DEBUG --><!-- THEME HOOK: 'upgrade_status_ascii_export' --><!-- BEGIN OUTPUT from 'modules/contrib/upgrade_status/templates/upgrade-status-ascii-export.html.twig' -->

CONTRIBUTED PROJECTS
--------------------------------------------------------------------------------
Thunder Admin 4.0.5
Scanned on Wed, 05/21/2025 - 07:23.

2 warnings found.

web/themes/contrib/thunder_admin/templates/block/block.html.twig:
+--------+------+----------------------------------------------------------------------------------------------------+
| status | line | message |
+--------+------+----------------------------------------------------------------------------------------------------+
| Ignore | 35 | Since twig/twig 3.12: Twig Filter "spaceless" is deprecated.
See https://drupal.org/node/3071078.
|
+--------+------+----------------------------------------------------------------------------------------------------+
web/themes/contrib/thunder_admin/templates/form/container.html.twig:
+--------+------+----------------------------------------------------------------------------------------------------+
| status | line | message |
+--------+------+----------------------------------------------------------------------------------------------------+
| Ignore | 28 | Since twig/twig 3.12: Twig Filter "spaceless" is deprecated.
See https://drupal.org/node/3071078.
|
+--------+------+----------------------------------------------------------------------------------------------------+
web/themes/contrib/thunder_admin/templates/form/form-element.html.twig:
+--------+------+----------------------------------------------------------------------------------------------------+
| status | line | message |
+--------+------+----------------------------------------------------------------------------------------------------+
| Ignore | 70 | Since twig/twig 3.12: Twig Filter "spaceless" is deprecated.
See https://drupal.org/node/3071078.
|
+--------+------+----------------------------------------------------------------------------------------------------+
web/thunder_admin.info.yml:
+----------------+------+------------------------------------------------------------------------------------------------------------------------------------------------------------+
| status | line | message |
+----------------+------+------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Check
manually | 0 | The 'thunder_media/entity_browser_view' library is not
defined because the defining extension is not installed.
Cannot decide if it is deprecated or not.
|
+----------------+------+------------------------------------------------------------------------------------------------------------------------------------------------------------+
web/themes/contrib/thunder_admin/thunder_admin.info.yml:
+----------------+------+----------------------------------------------------------------------------------------------------------------------------------------------------+
| status | line | message |
+----------------+------+----------------------------------------------------------------------------------------------------------------------------------------------------+
| Check
manually | 3 | Value of core_version_requirement: ^9.2 | ^10 is not
compatible with the next major version of Drupal core. See
https://drupal.org/node/3070687.
|
+----------------+------+----------------------------------------------------------------------------------------------------------------------------------------------------+

<!-- END OUTPUT from 'modules/contrib/upgrade_status/templates/upgrade-status-ascii-export.html.twig' -->

The only bit that is relevant to Drupal 11 is editing the info.yml file as it is compatible. There is no use of the mentioned library in the rest of the code and the spaceless in twig can be left for now.
I attach a patch to simply flag as compatible.

Remaining tasks

Consider raising separate tickets for the library and twig issues.

User interface changes

None

API changes

None

Data model changes

None

📌 Task
Status

Active

Version

4.0

Component

Code

Created by

🇬🇧United Kingdom Rory Downes

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

Comments & Activities

Production build 0.71.5 2024