Problem/Motivation
We want to remove all theme functions from core by RC1.
Proposed resolution
Convert/refactor the remaining theme functions in the sub-issues.
Remaining child/grandchild issues (higher priority issues at the top)
Completed
The total count of remaining (not including test functions) theme functions in core is displayed in the issue title. The following search can be run in ack 2.x to get the current number:
ack 'function theme_[^(]+\([^$]*(\$variables)*\) ?{' --ignore-dir=core/modules/system/tests core | wc -l
Remove the | wc -l to get a list of the remaining theme functions.
User interface changes
n/a
API changes
Theme functions will be removed.
Comments
Comment #1
star-szrComment #2
manuel garcia commentedAdded #2348729: Convert theme_views_view_field to twig
Comment #3
manuel garcia commentedAdded #2348747: Convert theme_views_view_fields() to 100% Twig: remove the theme function
Comment #4
star-szrMoving the
acksearch over from #1757550: [Meta] Convert core theme functions to Twig templates.Comment #5
joelpittetComment #6
joelpittetSplitting off the complete issues. 3 more down;) 17 to go!
Comment #7
star-szrBye theme_book_admin_table()! #1968982: Convert book theme tables to table #type
Comment #8
star-szrComment #9
star-szrComment #10
star-szrHmm, somehow we have an off by one error in the
ackcommand. Time for trusty ol'wc -l:)Comment #11
star-szrThank you #2260061: Responsive image module does not support sizes/picture polyfill 2.2! Just one theme function left now in responsive_image.module.
Comment #12
manuel garcia commentedComment #13
star-szrSeparating out the higher priority issues from the things we can live with being theme functions in 8.0.0 :)
Comment #14
star-szrSwapping theme_views_view_fields() and theme_views_view_field().
Comment #15
star-szrThank you #2123251: Improve DX of responsive images; convert theme functions to new #type element! One more down :D
Comment #16
star-szr#2443361: Remove theme_book_link, make book tree align with MenuLinkTree build is in! Maybe we can get to single digits by RC1.
Comment #17
star-szrMoving down to completed.
Comment #18
star-szrAnother down: #1963978: Convert theme_views_ui_build_group_filter_form() to Twig
Comment #19
joelpittet#1885564: theme.maintenance.inc (authorize.php) - Convert theme_ functions to Twig committed! Booyah
Comment #20
joelpittetComment #21
joelpittetComment #22
akalata commentedComment #23
akalata commentedComment #24
akalata commentedComment #25
xjmI filed #2575081: [policy, no patch] Use E_USER_DEPRECATED in Drupal 8 minor releases. Go theme team!
Comment #26
davidhernandezComment #27
star-szrSwapping the theme_indentation() refactor issue for a simpler one. We may actually be rid of core theme functions by release!
Comment #28
star-szrOne of them is not quite committed (pushed) yet but 3 more down! \m/
Comment #29
star-szrComment #30
rainbowarrayComment #31
star-szrOnly 2 left! Of course it's 2 #type table ones >:(
Comment #32
joelpittetComment #33
joelpittetBoth RTBC!, Edit well no but they should be:)
Comment #34
catchAgreed with the other committers this is RC target.
Comment #35
joelpittetWoo Fixed!
Comment #36
star-szr:D :D :D :D :D :D
Comment #37
akalata commentedWhoo!
Comment #38
sqndr commentedNice work everyone!