You are here

function _webform_confirmation in Webform 5.2

Same name and namespace in other branches
  1. 5 webform.module \_webform_confirmation()
  2. 6.3 webform.module \_webform_confirmation()
  3. 6.2 webform.module \_webform_confirmation()
  4. 7.4 webform.module \_webform_confirmation()
  5. 7.3 webform.module \_webform_confirmation()

Prints the confirmation message after a successful submission.

1 string reference to '_webform_confirmation'
webform_menu in ./webform.module
Implementation of hook_menu().

File

./webform.module, line 1790

Code

function _webform_confirmation($node) {
  drupal_set_title(check_plain($node->title));
  $output = theme('webform_confirmation_' . $node->nid, $node, $_GET['sid']);
  if (empty($output)) {
    $output = theme('webform_confirmation', $node, $_GET['sid']);
  }
  return $output;
}