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
/
language_init.twig
1
/**
2
* Implements hook_language_init().
3
*/
4
function {{ machine_name }}_language_init() {
5
global $language, $conf;
6
7
switch ($language->language) {
8
case 'it':
9
$conf['site_name'] = 'Il mio sito Drupal';
10
break;
11
12
case 'fr':
13
$conf['site_name'] = 'Mon site Drupal';
14
break;
15
}
16
}