Commit 44f8f8f1 authored by alexpott's avatar alexpott

Issue #2712405 by leolando.tan, jhodgdon: more detail needed for hook_theme() 'variables' property

parent 0ceb441a
......@@ -1110,7 +1110,8 @@ function hook_page_bottom(array &$page_bottom) {
* Template implementations receive each array key as a variable in the
* template file (so they must be legal PHP/Twig variable names). Function
* implementations are passed the variables in a single $variables function
* argument.
* argument. If you are using these variables in a render array, prefix the
* variable names defined here with a #.
* - render element: Used for render element items only: the name of the
* renderable element or element tree to pass to the theme function. This
* name is used as the name of the variable that holds the renderable
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment