function template_preprocess_webform_element_video_file in Webform 6.x
Same name and namespace in other branches
- 8.5 includes/webform.theme.template.inc \template_preprocess_webform_element_video_file()
Prepares variables for webform element video file templates.
Default template: webform-element-video-file.html.twig.
Parameters
array $variables: An associative array containing the following key:
- element: The webform element.
- value: The content for the element.
- options Associative array of options for element.
- file: The element's File object.
File
- includes/
webform.theme.template.inc, line 1077 - Preprocessors and helper functions to make theming easier.
Code
function template_preprocess_webform_element_video_file(array &$variables) {
template_preprocess_webform_element_managed_file($variables);
}