Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 31f312b8 authored by drishu's avatar drishu
Browse files

OEL-579: Add default value to component lib.

parent d637b8b0
No related branches found
No related tags found
1 merge request!36OEL-579 - Whitelabel - Medley branch with BCL 0.9.0 upgradel
......@@ -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';
}
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