Comments

sven.lauer’s picture

Title: Documentation problem with Reply to comment » Explanation of 'render element' in the hook_theme() doc is unclear
Version: 7.x-dev » 8.x-dev
Status: Active » Needs review
Issue tags: +Needs backport to D7
StatusFileSize
new1.27 KB

I agree that the documentation of the "render element" key is unclear. I remember having to look at existing theme functions to figure out what it results in.

Attaching a patch with a proposal for clarification.

jhodgdon’s picture

Status: Needs review » Closed (duplicate)

This is already being looked at on issue
#1021568: hook_theme variables vs render elements
which has a more extensive patch.