You are here

function template_preprocess_forward in Forward 7.3

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

Implements template_preprocess_module().

File

./forward.module, line 1070
Allows forwarding of entities by email, and provides a record of how often each has been forwarded.

Code

function template_preprocess_forward(&$variables) {

  // Unpack variables for use in the forward mail template forward.tpl.php
  $vars = $variables['vars'];
  foreach ($vars as $key => $value) {
    $variables[$key] = $value;
  }
}