refactor du système de routing (EXPORTS DES SETTINGS DRUPAL)
This commit is contained in:
@@ -27,7 +27,8 @@ function caravane_preprocess_html(&$variables) {
|
||||
* Implements hook_preprocess_HOOK() for page.html.twig.
|
||||
*/
|
||||
function caravane_preprocess_page(&$variables) {
|
||||
|
||||
$config = \Drupal::config('system.site');
|
||||
$variables['site_name'] = $config->get('name');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user