function site_status_message_theme in Site Status Message 8
Same name and namespace in other branches
- 7 site_status_message.module \site_status_message_theme()
Implements hook_theme().
File
- ./
site_status_message.module, line 168 - Site Status Message provides a configurable page top message.
Code
function site_status_message_theme($existing, $type, $theme, $path) {
return [
'site_status_message' => [
'variables' => [
'message' => NULL,
'link' => NULL,
'readmore' => NULL,
],
'render element' => 'element',
'template' => 'site-status-message',
],
];
}