You are here

function site_alert_theme in Site Alert 8

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

Implements hook_theme().

File

./site_alert.module, line 53
Allows admins to display a site-wide alert to all users.

Code

function site_alert_theme($existing, $type, $theme, $path) {
  return [
    'site_alert' => [
      'variables' => [
        'alert' => [],
      ],
    ],
  ];
}