You are here

function forward_theme in Forward 8.2

Same name and namespace in other branches
  1. 8.3 forward.module \forward_theme()
  2. 8 forward.module \forward_theme()
  3. 6 forward.module \forward_theme()
  4. 7.3 forward.module \forward_theme()
  5. 7 forward.module \forward_theme()
  6. 7.2 forward.module \forward_theme()
  7. 4.x forward.module \forward_theme()
  8. 4.0.x forward.module \forward_theme()

Implements hook_theme().

File

./forward.module, line 107
Allows forwarding of entities by email.

Code

function forward_theme($existing, $type, $theme, $path) {
  return [
    'forward' => [
      'variables' => [
        'email' => NULL,
        'recipient' => NULL,
        'header' => NULL,
        'footer' => NULL,
        'message' => NULL,
        'settings' => NULL,
        'entity' => NULL,
        'content' => NULL,
        'view_mode' => NULL,
        'email_format' => NULL,
      ],
    ],
  ];
}