function template_preprocess_webform_composite_location in Webform 8.5
Same name and namespace in other branches
- 6.x includes/webform.theme.template.inc \template_preprocess_webform_composite_location()
Prepares variables for composite location templates.
Default template: webform-composite-location.html.twig.
Parameters
array $variables: An associative array containing:
- element: An associative array containing the properties of the element.
File
- includes/
webform.theme.template.inc, line 828 - Preprocessors and helper functions to make theming easier.
Code
function template_preprocess_webform_composite_location(array &$variables) {
$variables['content'] = $variables['element'];
}