function activity_send_email_theme in Open Social 8
Same name and namespace in other branches
- 8.9 modules/custom/activity_send/modules/activity_send_email/activity_send_email.module \activity_send_email_theme()
- 8.2 modules/custom/activity_send/modules/activity_send_email/activity_send_email.module \activity_send_email_theme()
- 8.3 modules/custom/activity_send/modules/activity_send_email/activity_send_email.module \activity_send_email_theme()
- 8.4 modules/custom/activity_send/modules/activity_send_email/activity_send_email.module \activity_send_email_theme()
- 8.5 modules/custom/activity_send/modules/activity_send_email/activity_send_email.module \activity_send_email_theme()
- 8.6 modules/custom/activity_send/modules/activity_send_email/activity_send_email.module \activity_send_email_theme()
- 8.7 modules/custom/activity_send/modules/activity_send_email/activity_send_email.module \activity_send_email_theme()
- 8.8 modules/custom/activity_send/modules/activity_send_email/activity_send_email.module \activity_send_email_theme()
- 10.3.x modules/custom/activity_send/modules/activity_send_email/activity_send_email.module \activity_send_email_theme()
- 10.0.x modules/custom/activity_send/modules/activity_send_email/activity_send_email.module \activity_send_email_theme()
- 10.1.x modules/custom/activity_send/modules/activity_send_email/activity_send_email.module \activity_send_email_theme()
- 10.2.x modules/custom/activity_send/modules/activity_send_email/activity_send_email.module \activity_send_email_theme()
Implements hook_theme().
File
- modules/
custom/ activity_send/ modules/ activity_send_email/ activity_send_email.module, line 84 - Contains activity_basics.module..
Code
function activity_send_email_theme() {
$items = [
'digestmail' => [
'template' => 'digestmail',
'variables' => [
'notification_count' => NULL,
'notifications' => NULL,
'notification_settings' => NULL,
],
],
'directmail' => [
'template' => 'directmail',
'variables' => [
'notification' => NULL,
'notification_settings' => NULL,
],
],
];
return $items;
}