function theme_webform2pdf_content in Webform2PDF 7.4
Same name and namespace in other branches
- 7.3 webform2pdf.module \theme_webform2pdf_content()
3 theme calls to theme_webform2pdf_content()
File
- includes/
webform2pdf.theme.inc, line 216
Code
function theme_webform2pdf_content($vars) {
$email = array(
'html' => 'text',
// Undefined index: "exclude_empty" in Webform module.
// @see https://www.drupal.org/node/2499749
'exclude_empty' => 1,
'excluded_components' => array(),
);
return webform_replace_tokens($vars['template']['p_body']['value'], $vars['node'], $vars['submission'], $email, TRUE);
}