public function views_handler_area_text_custom::render_textarea_custom in Views (for Drupal 7) 7.3
Render a text area with filter_xss_admin.
Parameters
string $value: The text area string to process.
Return value
string The string after it has been sanitized, optionally tokenized too.
1 call to views_handler_area_text_custom::render_textarea_custom()
- views_handler_area_text_custom::render in handlers/
views_handler_area_text_custom.inc - Render the area.
File
- handlers/
views_handler_area_text_custom.inc, line 65 - Definition of views_handler_area_text_custom.
Class
- views_handler_area_text_custom
- Views area text custom handler.
Code
public function render_textarea_custom($value) {
if ($value) {
if ($this->options['tokenize']) {
$value = $this->view->style_plugin
->tokenize_value($value, 0);
}
return $this
->sanitize_value($value, 'xss_admin');
}
}