You are here

function _webform_submission_display_markup in Webform 5.2

Same name and namespace in other branches
  1. 5 components/markup.inc \_webform_submission_display_markup()
  2. 6.2 components/markup.inc \_webform_submission_display_markup()

Display the markup in the results. The output of this function will be displayed under the "results" tab then "submissions".

Parameters

$data: An array of information containing the submission result, directly correlating to the webform_submitted_data database schema.

$component: An array of information describing the component, directly correlating to the webform_component database schema.

Return value

Textual output formatted for human reading.

File

components/markup.inc, line 92
Webform module markup component.

Code

function _webform_submission_display_markup($data, $component, $enabled = FALSE) {
  $form_item = _webform_render_markup($component);
  return $form_item;
}