You are here

function template_preprocess_webform_submission_information in Webform 7.3

Same name and namespace in other branches
  1. 8.5 includes/webform.theme.template.inc \template_preprocess_webform_submission_information()
  2. 6.3 includes/webform.submissions.inc \template_preprocess_webform_submission_information()
  3. 7.4 includes/webform.submissions.inc \template_preprocess_webform_submission_information()
  4. 6.x includes/webform.theme.template.inc \template_preprocess_webform_submission_information()

Preprocess function for webform-submission-navigation.tpl.php.

File

includes/webform.submissions.inc, line 941
This file is loaded when handling submissions, either submitting new, editing, or viewing. It also contains all CRUD functions for submissions.

Code

function template_preprocess_webform_submission_information(&$vars) {
  $vars['account'] = user_load($vars['submission']->uid);
  $vars['actions'] = theme('links', module_invoke_all('webform_submission_actions', $vars['node'], $vars['submission']));
}