Closed (fixed)
Project:
Services Views
Version:
7.x-1.0-beta2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
16 Apr 2013 at 08:23 UTC
Updated:
20 Aug 2013 at 03:35 UTC
services_views.resource.inc file, line no. 83, $item->$field_label = $field->theme($row);
I want to apply htmlspecialchars_decode() function to the output returned by theme() function without modifying services_views.resource.inc file.
Comments
Comment #1
mandarmbhagwat78 commentedSeems no option than to change into services_views.resource.inc.
$item->$field_label = htmlspecialchars_decode($field->theme($row));Alternative plz.
Comment #2
ygerasimov commentedI would try two other scenarios:
1. add htmlspecialchars_decode in theming function in case it is displayed in services call
2. override output of the call using hook_services_request_postprocess_alter()
Comment #3
mandarmbhagwat78 commentedWhere can I find the definition of hook_services_request_postprocess_alter()?
Comment #5
bc commentedI fixed it like this:
It'd be nice for this to be part of services or services_views but I'm not quite sure where it'd best fit.