Skip to content
Snippets Groups Projects
Commit 9fd71523 authored by Igor Biki's avatar Igor Biki Committed by Eric Bremner
Browse files

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

parent 8414a15d
No related branches found
No related tags found
2 merge requests!32Tag 1.0.1,!28ISTWCMS-4579 Adding branding select to fdsu theme settings form.
......@@ -156,6 +156,25 @@ function uw_fdsu_theme_resp_form_system_theme_settings_alter(&$form, FormStateIn
'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_wordmark' => t('Generic with University wordmark only'),
'generic_barebones' => t('Fully generic'),
],
'#default_value' => theme_get_setting('wcms_branding_level', 'uw_fdsu_theme_resp') ?: 'full',
];
}
/**
......
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