function notifications_widget_theme in Notifications widget 8
Implements hook_theme().
Twig template for render notification content.
File
- ./
notifications_widget.module, line 68 - Contains notifications_widget.module.
Code
function notifications_widget_theme($existing, $type, $theme, $path) {
return [
'notifications_widget' => [
'variables' => [
'uid' => NULL,
'notification_type' => NULL,
'total' => NULL,
'unread' => NULL,
'notification_list' => NULL,
],
],
];
}