You are here

function template_preprocess_site_alert in Site Alert 7

Preprocess variables for site-alert.tpl.php.

File

./site_alert.module, line 42
Core functionality for the Site Alert module.

Code

function template_preprocess_site_alert(&$variables) {
  $variables['alert'] = filter_xss($variables['alert'], array(
    'a',
    'em',
    'strong',
  ));
}