diff options
author | Jennifer Hodgdon <yahgrp@poplarware.com> | 2013-01-30 07:55:36 -0800 |
---|---|---|
committer | Jennifer Hodgdon <yahgrp@poplarware.com> | 2013-01-30 07:55:36 -0800 |
commit | eb6f6e92880500601f1c7408c12158094339c774 (patch) | |
tree | 4afcd9604cccddcc0cc5d4f92b739d2c98d847f9 /modules/system | |
parent | cb904773f59efa584ee8eb157474ca392de8339a (diff) | |
download | brdo-eb6f6e92880500601f1c7408c12158094339c774.tar.gz brdo-eb6f6e92880500601f1c7408c12158094339c774.tar.bz2 |
Issue #1889738 by andybroomfield: Add information to documentation of hook_custom_theme
Diffstat (limited to 'modules/system')
-rw-r--r-- | modules/system/system.api.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/system/system.api.php b/modules/system/system.api.php index dfced86e7..195bc8354 100644 --- a/modules/system/system.api.php +++ b/modules/system/system.api.php @@ -2302,7 +2302,8 @@ function hook_theme_registry_alter(&$theme_registry) { * @return * The machine-readable name of the theme that should be used for the current * page request. The value returned from this function will only have an - * effect if it corresponds to a currently-active theme on the site. + * effect if it corresponds to a currently-active theme on the site. Do not + * return a value if you do not wish to set a custom theme. */ function hook_custom_theme() { // Allow the user to request a particular theme via a query parameter. |