function template_preprocess_page__webform_share in Webform 6.x
Same name and namespace in other branches
- 8.5 modules/webform_share/webform_share.module \template_preprocess_page__webform_share()
Prepares variables for the webform share page templates.
File
- modules/
webform_share/ webform_share.module, line 267 - Allows webforms to be shared on other websites using an iframe.
Code
function template_preprocess_page__webform_share(&$variables) {
// Make sure the variables are preprocessed.
// @see template_preprocess_page()
if (!isset($variables['base_path'])) {
template_preprocess_page($variables);
}
}