function _webform_table_data_textarea in Webform 5
Same name and namespace in other branches
- 5.2 components/textarea.inc \_webform_table_data_textarea()
- 6.2 components/textarea.inc \_webform_table_data_textarea()
Return the result of this component's submission for display in a table. The output of this function will be displayed under the "results" tab then "table".
Parameters
$data: An array of information containing the submission result, directly correlating to the webform_submitted_data database schema
Return value
Textual output formatted for human reading.
File
- components/
textarea.inc, line 156
Code
function _webform_table_data_textarea($data) {
return empty($data['value']['0']) ? "" : check_markup($data['value']['0'], FILTER_HTML_STRIP, FALSE);
}