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) {
* 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;
......
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