- πΊπΈUnited States gbirch
This issue just destroyed my day, FWIW, in Drupal 10.3 no less.
I have added a bug report with suggested revisions to the documentation as a temporary fix. https://www.drupal.org/project/drupal/issues/3479114 π Warn about node--view suggestions that do not work Active - Status changed to Active
10 days ago 7:36am 5 August 2025 - π¬π§United Kingdom catch
- Merge request !12998Deprecate view based theme suggestions and variables for node and comment templates β (Open) created by berdir
- π¨πSwitzerland berdir Switzerland
Finally, we can start to get rid of this.
- π¨πSwitzerland berdir Switzerland
Here's a question: Do we need BC test coverage for a feature that never had any test coverage in the first place?
We have test coverage for the theme suggestion deprecation feature, this would essentially just test that we have deprecated the right suggstions.
To test manually, all you have to do is visit frontpage on standard install profile after creating an article with twig debug on to see this:
FILE NAME SUGGESTIONS: βͺοΈ node--view--frontpage--page-1.html.twig (deprecated) βͺοΈ node--view--frontpage.html.twig (deprecated) βͺοΈ node--1--teaser.html.twig βͺοΈ node--1.html.twig βͺοΈ node--article--teaser.html.twig βͺοΈ node--article.html.twig β node--teaser.html.twig βͺοΈ node.html.twig
- π¬π§United Kingdom catch
I think it's OK to just do the deprecation here as long as we have generic coverage of the deprecation mechanism.