Commit 7cc8d767 authored by catch's avatar catch
Browse files

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

Issue #1322278 by rocket_nova: Fixed documentation problem with theme, doesn't link to theme functions list.
parent a272f10f
...@@ -781,8 +781,9 @@ function list_themes($refresh = FALSE) { ...@@ -781,8 +781,9 @@ function list_themes($refresh = FALSE) {
* Generates themed output. * Generates themed output.
* *
* All requests for themed output must go through this function. It examines * 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 * the request and routes it to the appropriate
* checking the theme registry. * @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 * 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 * instance, to theme a table, the theme hook name is 'table'. By default, this
...@@ -882,6 +883,8 @@ function list_themes($refresh = FALSE) { ...@@ -882,6 +883,8 @@ function list_themes($refresh = FALSE) {
* *
* @return * @return
* An HTML string representing the themed output. * An HTML string representing the themed output.
*
* @see themeable
*/ */
function theme($hook, $variables = array()) { function theme($hook, $variables = array()) {
static $hooks = NULL; static $hooks = NULL;
......
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