Printable theme_alter

Created on 20 December 2022, almost 2 years ago
Updated 16 February 2024, 10 months ago

Problem/Motivation

Hello there,
I'm trying to manage some different templates based on my content types without success. I'm using the HOOK_theme_suggestions_printable_alter but nothing happens and always calling the default printable.html.twig.

My template file is named like: node--articles--printable.html.twig

I've tried to find some documentation around without success either.

Anyone could give me a tip to work with different templates?

Thanks

💬 Support request
Status

Closed: works as designed

Version

2.1

Component

Documentation

Created by

🇧🇪Belgium pmichelazzo Brussels

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