You are here

function _webform_confirmation in Webform 6.3

Same name and namespace in other branches
  1. 5.2 webform.module \_webform_confirmation()
  2. 5 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
Implements hook_menu().

File

./webform.module, line 2514

Code

function _webform_confirmation($node) {
  drupal_set_title(check_plain($node->title));
  webform_set_breadcrumb($node);
  $sid = isset($_GET['sid']) ? $_GET['sid'] : NULL;
  return theme(array(
    'webform_confirmation_' . $node->nid,
    'webform_confirmation',
  ), $node, $sid);
}