Active
Project:
Drupal core
Version:
main
Component:
theme system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
3 Jun 2014 at 06:09 UTC
Updated:
20 Mar 2023 at 12:07 UTC
Jump to comment: Most recent
Follow-up to #1939092: Convert theme_mark() to Twig
Blocked on: #939462: Specific preprocess functions for theme hook suggestions are not invoked
mark theme hook is really just a "tag" with "attributes" and a "value" (one line, more or less, template)mark theme hook is not extensible (cannot add classes via a preprocess function, must override the template).'#theme' => 'mark' to '#type' => 'html_tag__mark'None
Conversion of a theme hook into a different theme hook suggestion?
Comments
Comment #1
star-szrComment #2
star-szrWe could potentially do this in a later 8.x.x release but I think it's too late for 8.0.x, bumping.
Comment #7
joelpittetThis could be possible yet still *maybe*... Reopening to deal with it.
Comment #10
markhalliwellThis will require
#typeto take theme hook like suggestions.Comment #19
catchThe blocker was committed some time ago.