Skip to content
Snippets Groups Projects
Commit 842ca62e authored by yassrzg's avatar yassrzg
Browse files

Issue #3432734 by yassrzg [beta7] Some little fixes in header, footer & page layout

parent 055b62f5
No related branches found
Tags 6.x-2.3
No related merge requests found
......@@ -5,7 +5,7 @@
* Functions to support theming in the UI Suite DSFR theme.
*/
declare(strict_types = 1);
declare(strict_types=1);
use Drupal\Component\Utility\Crypt;
use Drupal\Component\Utility\UrlHelper;
......@@ -18,6 +18,7 @@ use Drupal\ui_patterns_settings\Plugin\UiPatterns\SettingType\LinksSettingType;
function ui_suite_dsfr_preprocess_page(&$variables) {
$variables['container'] = theme_get_setting('container') ?? 'fr-container';
$variables['logo_text'] = theme_get_setting('logo_text');
$variables['logo_text'] = str_replace('\n', PHP_EOL, $variables['logo_text']);
// For the header & footer components.
$config = \Drupal::config('system.site');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment