Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 302762

Update stale references to theme functions that have been converted to Twig

$
0
0

This issue has novice tasks. If you are an experienced core developer and have multiple commit mentions, please review novices' work on these tasks rather than doing them yourself. Feedback from experienced contributors is valued.

Problem/Motivation

There are references to theme functions in core docs that are now converted to Twig templates and therefore don't exist any longer (broken links on api.drupal.org is just one negative effect this has).

Examples:

  • theme_field() is now (or will soon be again!) field.html.twig
  • theme_item_list() is now item-list.html.twig
  • theme_image() is now image.html.twig

The theme function to Twig conversion effort (#1757550: Convert core theme functions to Twig templates) does a lot of things and each patch goes through quite a rigorous process. But we're certainly not perfect!

Proposed resolution

Search through core and find all references to theme_ functions. Update them if they are referencing theme functions that no longer exist or have been converted to Twig.

Remaining tasks

Beta evaluation: This is just API docs and code comments (documentation), so it is an unfrozen, prioritized change and allowed during beta.

User interface changes

n/a

API changes

n/a


Viewing all articles
Browse latest Browse all 302762

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>