Revision 76bdcd04
Added by Assos Assos almost 6 years ago
drupal7/sites/all/modules/webform/views/webform_plugin_row_submission_view.inc | ||
---|---|---|
28 | 28 |
private $nodes = array(); |
29 | 29 |
|
30 | 30 |
/** |
31 |
* |
|
31 |
* {@inheritdoc}
|
|
32 | 32 |
*/ |
33 | 33 |
public function option_definition() { |
34 | 34 |
$options = parent::option_definition(); |
... | ... | |
39 | 39 |
} |
40 | 40 |
|
41 | 41 |
/** |
42 |
* |
|
42 |
* {@inheritdoc}
|
|
43 | 43 |
*/ |
44 | 44 |
public function options_form(&$form, &$form_state) { |
45 | 45 |
parent::options_form($form, $form_state); |
... | ... | |
108 | 108 |
} |
109 | 109 |
$build['#theme'] = $themes; |
110 | 110 |
|
111 |
// Render built submission, and if unsanitized plain text is used, make it safe for display. |
|
111 |
// Render built submission, and if unsanitized plain text is used, make |
|
112 |
// it safe for display. |
|
112 | 113 |
$render = drupal_render($build); |
113 | 114 |
return $format == 'html' ? $render : nl2br(check_plain($render)); |
114 | 115 |
} |
Also available in: Unified diff
Weekly update of contrib modules