You are here

function activity_send_email_theme in Open Social 10.1.x

Same name and namespace in other branches
  1. 8.9 modules/custom/activity_send/modules/activity_send_email/activity_send_email.module \activity_send_email_theme()
  2. 8 modules/custom/activity_send/modules/activity_send_email/activity_send_email.module \activity_send_email_theme()
  3. 8.2 modules/custom/activity_send/modules/activity_send_email/activity_send_email.module \activity_send_email_theme()
  4. 8.3 modules/custom/activity_send/modules/activity_send_email/activity_send_email.module \activity_send_email_theme()
  5. 8.4 modules/custom/activity_send/modules/activity_send_email/activity_send_email.module \activity_send_email_theme()
  6. 8.5 modules/custom/activity_send/modules/activity_send_email/activity_send_email.module \activity_send_email_theme()
  7. 8.6 modules/custom/activity_send/modules/activity_send_email/activity_send_email.module \activity_send_email_theme()
  8. 8.7 modules/custom/activity_send/modules/activity_send_email/activity_send_email.module \activity_send_email_theme()
  9. 8.8 modules/custom/activity_send/modules/activity_send_email/activity_send_email.module \activity_send_email_theme()
  10. 10.3.x modules/custom/activity_send/modules/activity_send_email/activity_send_email.module \activity_send_email_theme()
  11. 10.0.x modules/custom/activity_send/modules/activity_send_email/activity_send_email.module \activity_send_email_theme()
  12. 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 92
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;
}