Skip to content
Snippets Groups Projects
Commit 008c33a4 authored by Eric Bremner's avatar Eric Bremner
Browse files

Merge branch 'feature/ISTWCMS-4579-ibiki-theme-branding' into '1.0.x'

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

See merge request !28
parents 8414a15d 1d8f8d55
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,24 @@ 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_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