function forward_theme in Forward 4.0.x
Same name and namespace in other branches
- 8.3 forward.module \forward_theme()
- 8 forward.module \forward_theme()
- 8.2 forward.module \forward_theme()
- 6 forward.module \forward_theme()
- 7.3 forward.module \forward_theme()
- 7 forward.module \forward_theme()
- 7.2 forward.module \forward_theme()
- 4.x forward.module \forward_theme()
Implements hook_theme().
File
- ./
forward.module, line 53 - 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,
],
],
'forward_link_formatter' => [
'variables' => [
'link' => NULL,
],
],
];
}