Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When rendering a message in a view using Rendered Entity, the message_message_view_alter function sets the build #theme key to 'message' which in turn set the 'theme_hook_suggestion' to 'message' and overrides any alternate bundle templates
This patch resolves that by checking for a #bundle key in the build and applying an alternate #theme value if it exists.
Comment | File | Size | Author |
---|---|---|---|
message-views-alter-suggestion.patch | 499 bytes | stiknoltz | |
Comments
Comment #1
amitaibuCorrect status
Comment #3
amitaibu... and correct version
Comment #4
bluegeek9 CreditAttribution: bluegeek9 as a volunteer commented