Issue #1889738 by andybroomfield: Add information to documentation of hook_custom_theme

merge-requests/26/head
Jennifer Hodgdon 2013-01-30 07:55:36 -08:00
parent cb904773f5
commit eb6f6e9288
1 changed files with 2 additions and 1 deletions

View File

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