Drupal 10.3 changes how to theme status messages.

Created on 2 August 2024, 5 months ago

Problem/Motivation

https://www.drupal.org/project/drupal/issues/3456176#comment-15692107 πŸ› 10.3 upgrade now missing status-message theme suggestions Postponed

Drupal 10.3 introduces a new way of theming the status messages. As catch added above.

1. If you have a custom theme, then implement Drupal.theme.message in your theme, there are examples of how to do this in both Claro and Olivero themes in core. Umami does not do this but #3100083: Add js message theme override to match Umami message markup is the issue to add that, and will show the kind of changes necessary.

2. If you're using a contributed theme, open an issue against that theme's issue queue to add JavaScript messages support.

Steps to reproduce

Proposed resolution

Create the JS file equivalent for it and load it as a library. Olivero and claro already do this.

πŸ“Œ Task
Status

Active

Version

3.8

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States bernardm28 Tennessee

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