function private_message_theme in Private Message 8.2
Same name and namespace in other branches
- 8 private_message.module \private_message_theme()
Implements hook_theme().
File
- ./
private_message.module, line 373 - Contains hooks for the private message module.
Code
function private_message_theme() {
return [
'private_message_thread' => [
'render element' => 'elements',
],
'private_message' => [
'render element' => 'elements',
],
'private_message_notification_block' => [
'variables' => [
'new_message_count' => 0,
],
'file' => 'private_message.theme.inc',
],
'private_message_no_active_users_notice' => [
'render element' => 'elements',
],
];
}