function theme_webform_display_pagebreak in Webform 7.4
Same name and namespace in other branches
- 6.3 components/pagebreak.inc \theme_webform_display_pagebreak()
- 7.3 components/pagebreak.inc \theme_webform_display_pagebreak()
Format the text output data for this component.
1 theme call to theme_webform_display_pagebreak()
- _webform_display_pagebreak in components/
pagebreak.inc - Implements _webform_display_component().
File
- components/
pagebreak.inc, line 95 - Webform module page break component.
Code
function theme_webform_display_pagebreak($variables) {
$element = $variables['element'];
return $element['#format'] == 'html' ? '<h2 class="webform-page">' . check_plain($element['#title']) . '</h2>' : '==' . $element['#title'] . "==\n";
}