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

8.2.x
Alex Pott 2016-05-05 09:09:30 +01:00
parent 0ceb441a75
commit 44f8f8f114
1 changed files with 2 additions and 1 deletions

View File

@ -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