function template_preprocess_webform_progress_bar in Webform 6.x
Same name and namespace in other branches
- 8.5 includes/webform.theme.template.inc \template_preprocess_webform_progress_bar()
Prepares variables for webform 'wizard' progress bar templates.
Default template: webform-progress-bar.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 575 - Preprocessors and helper functions to make theming easier.
Code
function template_preprocess_webform_progress_bar(array &$variables) {
_template_preprocess_webform_progress($variables);
}