You are here

function template_preprocess_webform_progress_tracker in Webform 6.x

Same name and namespace in other branches
  1. 8.5 includes/webform.theme.template.inc \template_preprocess_webform_progress_tracker()

Prepares variables for webform 'wizard' progress tracker templates.

Default template: webform-progress-tracker.html.twig.

Parameters

array $variables: An associative array containing the following key:

  • webform: A webform.
  • current_page: The current wizard page.

File

includes/webform.theme.template.inc, line 589
Preprocessors and helper functions to make theming easier.

Code

function template_preprocess_webform_progress_tracker(array &$variables) {
  _template_preprocess_webform_progress($variables);
}