Add test for theme suggestions

Created on 26 August 2022, over 2 years ago
Updated 17 February 2023, almost 2 years ago

Problem/Motivation

Based on 🐛 Theme suggestions still in the wrong order (at least a bit) [beta3 / 2.x custom theme conflict] Closed: won't fix we should please add a further test for the theme suggestion we add to ensure it's added as expected and in the correct order.

I just found a good example for such a test in this issue: Template suggestions for custom block view modes Fixed see https://git.drupalcode.org/project/drupal/-/merge_requests/2646/diffs in file core/modules/block_content/tests/src/Kernel/BlockTemplateSuggestionsTest.php
We should be able to adopt this to ensure 🐛 Theme suggestions still in the wrong order (at least a bit) [beta3 / 2.x custom theme conflict] Closed: won't fix works as expected for stark theme.

Also, please add that theme hook suggestion example to our test templates!

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Active

Version

2.0

Component

Code

Created by

🇩🇪Germany Anybody Porta Westfalica

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