Commit 4ccedfb0 authored by jhodgdon's avatar jhodgdon

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

parent acce454b
...@@ -1937,7 +1937,8 @@ function hook_template_preprocess_default_variables_alter(&$variables) { ...@@ -1937,7 +1937,8 @@ function hook_template_preprocess_default_variables_alter(&$variables) {
* @return * @return
* The machine-readable name of the theme that should be used for the current * 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 * 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() { function hook_custom_theme() {
// Allow the user to request a particular theme via a query parameter. // Allow the user to request a particular theme via a query parameter.
......
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