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

Consolidate arguments in #type => link and #theme => link

$
0
0

Problem/Motivation

This is a follow-up from #1922454-124: Gut l(), fix theme('link'), have a working framework for consistently generated links inside and outside of Twig. #theme => link uses #path and #text while #type => link uses #title and #href, which is confusing.

Proposed resolution

Consolidate these to common terms (TBD).

Remaining tasks

* Decide what the terms should be.
* Patch to replace all usages of these in core.

User interface changes

None

API changes

Keys for render arrays and form API arrays will be consistent.

#1922454: Gut l(), fix theme('link'), have a working framework for consistently generated links inside and outside of TwigAssigned to: catch


Viewing all articles
Browse latest Browse all 292243

Trending Articles



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