function webform_submission_title in Webform 7.3
Same name and namespace in other branches
- 6.3 includes/webform.submissions.inc \webform_submission_title()
- 7.4 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 375 - This file is loaded when handling submissions, either submitting new, editing, or viewing. It also contains all CRUD functions for submissions.
Code
function webform_submission_title($node, $submission) {
return t('Submission #@sid', array(
'@sid' => $submission->sid,
));
}