Render the field.
$values: The values retrieved from the database.
Overrides FieldPluginBase::render
function render($values) {
$value = $this
->get_value($values);
if (is_array($this->format)) {
$format = $this
->get_value($values, 'format');
}
else {
$format = $this->format;
}
if ($value) {
$value = str_replace('<!--break-->', '', $value);
return check_markup($value, $format, '');
}
}