function forward_theme_suggestions_forward in Forward 8.2
Same name and namespace in other branches
- 8.3 forward.module \forward_theme_suggestions_forward()
- 4.x forward.module \forward_theme_suggestions_forward()
- 4.0.x forward.module \forward_theme_suggestions_forward()
Implements hook_theme_suggestions_HOOK().
File
- ./
forward.module, line 129 - Allows forwarding of entities by email.
Code
function forward_theme_suggestions_forward(array $variables) {
$suggestions = [];
$suggestions[] = 'forward__' . $variables['email_format'];
$suggestions[] = 'forward__' . $variables['email_format'] . '__' . $variables['view_mode'];
return $suggestions;
}