You are here

public function SiteBannerContextReactionChangeBannerBackgroundColor::options_form in Site Banner 7

Admin panel for setting banner background color for selected contexts.

Overrides context_reaction::options_form

File

./site_banner_context_reaction_functions.inc, line 155

Class

SiteBannerContextReactionChangeBannerBackgroundColor
Handle changing the site banner background colors reaction.

Code

public function options_form($context) {
  $existing_color_code = site_banner_get_existing_background_color($context);
  return site_banner_generate_bg_color_form_elements($existing_color_code);
}