This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//TODO backend for configure taxonomy ref fields | |
/** | |
* Implements hook_services_request_postprocess_alter(). | |
*/ | |
function bdi_tax_tid_services_request_postprocess_alter($controller, $args, &$result) { | |
if ($controller['callback'] === '_node_resource_retrieve') { | |
$fieldnames = array(); | |
//your fieldnames here |