You are here

function notifications_views_handler_field_body::render in Notifications 6.4

Same name and namespace in other branches
  1. 6 notifications_views/notifications_views_handler_field_body.inc \notifications_views_handler_field_body::render()
  2. 6.2 notifications_views/notifications_views_handler_field_body.inc \notifications_views_handler_field_body::render()
  3. 6.3 notifications_views/notifications_views_handler_field_body.inc \notifications_views_handler_field_body::render()
  4. 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);
}