From 31f312b86e55175e770a02e029f727ba32b7a1d3 Mon Sep 17 00:00:00 2001 From: drishu <aszilagyi@live.com> Date: Thu, 28 Oct 2021 15:44:50 +0300 Subject: [PATCH] OEL-579: Add default value to component lib. --- oe_whitelabel.theme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oe_whitelabel.theme b/oe_whitelabel.theme index 230dbc93..363986d0 100644 --- a/oe_whitelabel.theme +++ b/oe_whitelabel.theme @@ -112,5 +112,5 @@ function oe_whitelabel_form_system_theme_settings_alter(&$form, FormStateInterfa * Implements hook_preprocess(). */ function oe_whitelabel_preprocess(&$variables) { - $variables['bcl_component_library'] = theme_get_setting('component_library'); + $variables['bcl_component_library'] = theme_get_setting('component_library') ?? 'eu'; } -- GitLab