function notifications_views_handler_field_body::render in Notifications 6.4
Same name and namespace in other branches
- 6 notifications_views/notifications_views_handler_field_body.inc \notifications_views_handler_field_body::render()
- 6.2 notifications_views/notifications_views_handler_field_body.inc \notifications_views_handler_field_body::render()
- 6.3 notifications_views/notifications_views_handler_field_body.inc \notifications_views_handler_field_body::render()
- 7 notifications_views/includes/notifications_views_handler_field_body.inc \notifications_views_handler_field_body::render()
File
- notifications_views/
notifications_views_handler_field_body.inc, line 7
Class
- notifications_views_handler_field_body
- Field handler
Code
function render($values) {
$method_info = messaging_method_info('simple');
$value = $values->{$this->field_alias};
// The filter is applied now only once
if ($method_info['filter']) {
return check_markup($value, $filter, FALSE);
}
return check_plain($value);
}