function template_preprocess_webform_composite_link in Webform 6.x
Same name and namespace in other branches
- 8.5 includes/webform.theme.template.inc \template_preprocess_webform_composite_link()
Prepares variables for composite link templates.
Default template: webform-composite-link.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 815 - Preprocessors and helper functions to make theming easier.
Code
function template_preprocess_webform_composite_link(array &$variables) {
$variables['content'] = $variables['element'];
}