Skip to content
Snippets Groups Projects

ISTWCMS-4579 Adding branding select to fdsu theme settings form.

Merged Igor Biki requested to merge feature/ISTWCMS-4579-ibiki-theme-branding into 1.0.x
+ 18
0
@@ -156,6 +156,24 @@ function uw_fdsu_theme_resp_form_system_theme_settings_alter(&$form, FormStateIn
@@ -156,6 +156,24 @@ function uw_fdsu_theme_resp_form_system_theme_settings_alter(&$form, FormStateIn
'org-school' => t('Red (School)'),
'org-school' => t('Red (School)'),
],
],
];
];
 
 
// Fieldset for branding options.
 
$form['branding_options'] = [
 
'#type' => 'details',
 
'#open' => TRUE,
 
'#title' => t('Branding options'),
 
];
 
 
// Branding select option.
 
$form['branding_options']['wcms_branding_level'] = [
 
'#type' => 'select',
 
'#options' => [
 
'full' => t('Full University branding'),
 
'generic' => t('Generic with University wordmark'),
 
'generic_barebones' => t('Fully generic'),
 
],
 
'#default_value' => theme_get_setting('wcms_branding_level', 'uw_fdsu_theme_resp') ?: 'full',
 
];
}
}
/**
/**
Loading