You are here

public function SiteBannerContextReactionChangeBannerText::execute in Site Banner 7

Output banner text for active contexts.

File

./site_banner_context_reaction_functions.inc, line 141

Class

SiteBannerContextReactionChangeBannerText
Handle changing the site banner text reaction.

Code

public function execute(&$banner_text) {
  $contexts = context_active_contexts();
  site_banner_generate_context_banner_text_from_contexts($contexts, $banner_text);
}