public function postProcessValueHash($outgoingValueHash)
    {
        if (
            !isset($outgoingValueHash['destinationContentIds']) ||
            !is_array($outgoingValueHash['destinationContentIds']) ||
            !$this->canMapContentHref()
        ) {
            return $outgoingValueHash;
        }

        $outgoingValueHash['destinationContentHrefs'] = array_map(
            function ($contentId) {
                return $this->mapToContentHref($contentId);
            },
            $outgoingValueHash['destinationContentIds']
        );

        return $outgoingValueHash;
    }
public function postProcessValueHash($outgoingValueHash)
    {
        if (
            !isset($outgoingValueHash['destinationContentIds']) ||
            !is_array($outgoingValueHash['destinationContentIds']) ||
            !$this->canMapContentHref()
        ) {
            return $outgoingValueHash;
        }

        $outgoingValueHash['destinationContentHrefs'] = array_map(
            function ($contentId) {
                return $this->mapToContentHref($contentId);
            },
            $outgoingValueHash['destinationContentIds']
        );

        return $outgoingValueHash;
    }
public function postProcessValueHash ( $ outgoingValueHash ) { if ( ! isset ( $ outgoingValueHash [ 'destinationContentIds' ] ) || ! is_array ( $ outgoingValueHash [ 'destinationContentIds' ] ) || ! $ this -> canMapContentHref ( ) ) { return $ outgoingValueHash ; } $ outgoingValueHash [ 'destinationContentHrefs' ] = array_map ( function ( $ contentId ) { return $ this -> mapToContentHref ( $ contentId ) ; } , $ outgoingValueHash [ 'destinationContentIds' ] ) ; return $ outgoingValueHash ; }
In addition to the list of destinationContentIds, adds a destinationContentHrefs
array, with matching content uris.

@param array $outgoingValueHash

@return array
In addition to the list of destinationContentIds adds a destinationContentHrefs array with matching content uris .