function views_handler_area_text::render

Same name in other branches
  1. 7.x-3.x handlers/views_handler_area_text.inc \views_handler_area_text::render()

Overrides views_handler_area::render

File

handlers/views_handler_area_text.inc, line 88

Class

views_handler_area_text
Views area text handler.

Code

function render($empty = FALSE) {
    $format = isset($this->options['format']) ? $this->options['format'] : FILTER_FORMAT_DEFAULT;
    if (!$empty || !empty($this->options['empty'])) {
        return $this->render_textarea($this->options['content'], $format);
    }
    return '';
}