You are here

function varbase_email_theme in Varbase Email 9.0.x

Same name and namespace in other branches
  1. 8.6 varbase_email.module \varbase_email_theme()

Implements hook_theme().

File

./varbase_email.module, line 14
Contains varbase_email.module.

Code

function varbase_email_theme($existing, $type, $theme, $path) {
  $templates = $path . '/templates';
  $return['swiftmailer'] = [
    'template' => 'varbase_emails',
    'path' => $templates,
    'variables' => [
      'message' => [],
    ],
    'mail theme' => TRUE,
  ];
  return $return;
}