You are here

function theme_webform_confirmation in Webform 5

Same name and namespace in other branches
  1. 5.2 webform.module \theme_webform_confirmation()

Themable function for webform submission confirmation.

Parameters

$node: The webform node that has just been submitted.

1 theme call to theme_webform_confirmation()
_webform_confirmation in ./webform.module
Prints the confirmation message after a successful submission.

File

./webform.module, line 1699

Code

function theme_webform_confirmation($node) {
  $node->body = check_markup($node->confirmation, $node->format, FALSE);
  $node->links['webform_back'] = array(
    'href' => 'node/' . $node->nid,
    'title' => t('Go back to the form'),
  );
  return theme('node', $node, FALSE, TRUE);
}