Can't find where message--status class is added

Created on 2 August 2015, almost 10 years ago
Updated 6 May 2025, 11 days ago

In my theme the StatusMessages element is rendered without the class message--status.
Looking for the source of the problem I find in status-messages.html.twig this line
@see template_preprocess_status_messages()
which is exactly where I would like to look
however that function doesn't exist in d8.
So saying, I can't see any clues in \Drupal\Core\Render\Element\StatusMessages either

💬 Support request
Status

Fixed

Version

11.0 🔥

Component

system.module

Created by

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024