Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
5e0eac1c
Commit
5e0eac1c
authored
Mar 22, 2012
by
Jennifer Hodgdon
Browse files
Issue
#1471418
by nmudgal: Add note to hook_custom_theme docs about page caching
parent
c804c2bc
Changes
1
Show whitespace changes
Inline
Side-by-side
core/modules/system/system.api.php
View file @
5e0eac1c
...
...
@@ -1824,6 +1824,10 @@ function hook_theme_registry_alter(&$theme_registry) {
* theme set via a theme callback function in hook_menu(); the themes on those
* pages can only be overridden using hook_menu_alter().
*
* Note that returning different themes for the same path may not work with page
* caching. This is most likely to be a problem if an anonymous user on a given
* path could have different themes returned under different conditions.
*
* Since only one theme can be used at a time, the last (i.e., highest
* weighted) module which returns a valid theme name from this hook will
* prevail.
...
...
Write
Preview
Supports
Markdown
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