projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website]
/
vendor
/
chi-teck
/
drupal-code-generator
/
templates
/
d7
/
hook
/
custom_theme.twig
1
/**
2
* Implements hook_custom_theme().
3
*/
4
function {{ machine_name }}_custom_theme() {
5
// Allow the user to request a particular theme via a query parameter.
6
if (isset($_GET['theme'])) {
7
return $_GET['theme'];
8
}
9
}