Issue #2712405 by leolando.tan, jhodgdon: more detail needed for hook_theme() 'variables' property
parent
0ceb441a75
commit
44f8f8f114
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue