Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
229
Merge Requests
229
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
4ccedfb0
Commit
4ccedfb0
authored
Jan 30, 2013
by
jhodgdon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#1889738
by andybroomfield: Add information to documentation of hook_custom_theme
parent
acce454b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
core/modules/system/system.api.php
core/modules/system/system.api.php
+2
-1
No files found.
core/modules/system/system.api.php
View file @
4ccedfb0
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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