You are here

function _webform_confirmation in Webform 7.4

Same name and namespace in other branches
  1. 5.2 webform.module \_webform_confirmation()
  2. 5 webform.module \_webform_confirmation()
  3. 6.3 webform.module \_webform_confirmation()
  4. 6.2 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 3563
This module provides a simple way to create forms and questionnaires.

Code

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