Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
4ccedfb0
Commit
4ccedfb0
authored
Jan 30, 2013
by
Jennifer Hodgdon
Browse files
Issue
#1889738
by andybroomfield: Add information to documentation of hook_custom_theme
parent
acce454b
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/modules/system/system.api.php
View file @
4ccedfb0
...
...
@@ -1937,7 +1937,8 @@ function hook_template_preprocess_default_variables_alter(&$variables) {
* @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.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment