You are here

function site_alert_theme in Site Alert 7

Same name and namespace in other branches
  1. 8 site_alert.module \site_alert_theme()

Implements hook_theme().

File

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

Code

function site_alert_theme() {
  return array(
    'site_alert' => array(
      'variables' => array(
        'level' => NULL,
        'alert' => NULL,
      ),
      'template' => 'templates/site-alert',
    ),
    'site_alert_wrapper' => array(
      'variables' => array(),
      'template' => 'templates/site-alert-wrapper',
    ),
  );
}