You are here

function template_preprocess_webform_composite_location in Webform 6.x

Same name and namespace in other branches
  1. 8.5 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'];
}