Add Drupal 11 support

Created on 30 May 2023, over 1 year ago
Updated 16 August 2024, 4 months ago

Problem/Motivation

Note: It looks like you can download Drupal 11, but it's really Drupal 10.2, see New Drupal core branching scheme introduced and Clarify that current version 11 is 10.2 📌 Clarify that current version 11 is 10.2 Postponed .

This issue is postponed until the real Drupal 11.x branch is ready for development, allowing Drupal-11-specific changes.

Steps to reproduce

Try and fail, if you:

  • Download drupal/admin_toolbar in a Drupal 11 project with Composer
  • Clone the project and install it in a Drupal 11 project

Proposed resolution

  1. Wait for Drupal 11.x to be released
  2. Add ^11 to each module's *.info.yml files' "core_version_requirement" parameter
  3. Add .toolbar-icon-11 in the relevant CSS file
  4. Check the rest of the code works, and update where needed

Workaround, to allow installing in Drupal 11

Clone and update the constraints in the *.info.yml files:

$ git clone https://git.drupalcode.org/project/admin_toolbar web/modules/contrib/admin_toolbar
$ sed -i "s/\^10$/^10 || ^11/g" web/modules/contrib/admin_toolbar/admin_toolbar.info.yml web/modules/contrib/admin_toolbar/*/*.info.yml

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Fixed

Version

3.0

Component

Code

Created by

🇩🇰Denmark ressa Copenhagen

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