function notifications_views_handler_field_subscription_type::render in Notifications 6
Same name and namespace in other branches
- 6.4 notifications_views/notifications_views_handler_field_subscription_type.inc \notifications_views_handler_field_subscription_type::render()
- 6.2 notifications_views/notifications_views_handler_field_subscription_type.inc \notifications_views_handler_field_subscription_type::render()
- 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);
}