function site_banner_get_background_color_from_form in Site Banner 7
Searches the form response to determine the background color to be saved.
Parameters
array $form_state: the object containing user settings
Return value
string the background color as HTML hex color code
1 call to site_banner_get_background_color_from_form()
- site_banner_admin_settings_form_submit in ./
site_banner.admin.inc - Implements hook_form_FORM_ID_submit() for node_type_form().
File
- ./
site_banner.admin.inc, line 292
Code
function site_banner_get_background_color_from_form($form_state) {
return site_banner_get_background_color_code($form_state['values']['site_banner_background_color_form'], $form_state['values']['site_banner_background_custom_color_form'], $form_state['values']['site_banner_background_color_select']);
}