Issue #1322278 by rocket_nova: Fixed documentation problem with theme, doesn't link to theme functions list.

8.0.x
Nathaniel 2011-11-25 13:12:07 +09:00
parent a272f10f1b
commit 7cc8d7679a
1 changed files with 5 additions and 2 deletions

View File

@ -781,8 +781,9 @@ function list_themes($refresh = FALSE) {
* Generates themed output.
*
* All requests for themed output must go through this function. It examines
* the request and routes it to the appropriate theme function or template, by
* checking the theme registry.
* the request and routes it to the appropriate
* @link themeable theme function or template @endlink, by checking the theme
* registry.
*
* The first argument to this function is the name of the theme hook. For
* instance, to theme a table, the theme hook name is 'table'. By default, this
@ -882,6 +883,8 @@ function list_themes($refresh = FALSE) {
*
* @return
* An HTML string representing the themed output.
*
* @see themeable
*/
function theme($hook, $variables = array()) {
static $hooks = NULL;