You are here

function webform_submission_title in Webform 7.4

Same name and namespace in other branches
  1. 6.3 includes/webform.submissions.inc \webform_submission_title()
  2. 7.3 includes/webform.submissions.inc \webform_submission_title()

Menu title callback; Return the submission number as a title.

2 calls to webform_submission_title()
webform_submission_delete_form in includes/webform.submissions.inc
Confirm form to delete a single form submission.
webform_submission_page in includes/webform.submissions.inc
Menu callback; Present a Webform submission page for display or editing.
1 string reference to 'webform_submission_title'
webform_menu in ./webform.module
Implements hook_menu().

File

includes/webform.submissions.inc, line 489
Submission handling functions.

Code

function webform_submission_title($node, $submission) {
  return t('Submission #@serial', array(
    '@serial' => $submission->serial,
  ));
}