You are here

function notifications_views_handler_field_subscription_type::render in Notifications 6.4

Same name and namespace in other branches
  1. 6 notifications_views/notifications_views_handler_field_subscription_type.inc \notifications_views_handler_field_subscription_type::render()
  2. 6.2 notifications_views/notifications_views_handler_field_subscription_type.inc \notifications_views_handler_field_subscription_type::render()
  3. 6.3 notifications_views/notifications_views_handler_field_subscription_type.inc \notifications_views_handler_field_subscription_type::render()

File

notifications_views/notifications_views_handler_field_subscription_type.inc, line 6

Class

notifications_views_handler_field_subscription_type
Field handler to translate a node type into its readable form.

Code

function render($values) {
  $types = notifications_subscription_types();
  $value = $types[$values->{$this->field_alias}]['title'];
  return check_plain($value);
}