function theme_webform_components_page in Webform 7.3
Same name and namespace in other branches
- 6.3 includes/webform.components.inc \theme_webform_components_page()
- 7.4 includes/webform.components.inc \theme_webform_components_page()
Theme the output of the main components page.
This theming provides a way to toggle between the editing modes if Form Builder module is available.
1 theme call to theme_webform_components_page()
- webform_components_page in includes/
webform.components.inc - Overview page of all components for this webform.
File
- includes/
webform.components.inc, line 33 - Webform module component handling.
Code
function theme_webform_components_page($variables) {
$node = $variables['node'];
$form = $variables['form'];
return drupal_render($form);
}