You are here

function template_preprocess_webform_composite_link in Webform 8.5

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