getContentMeta() public method

This array includes: - contentId Content Id when applicable (not available if a location was looked up) - locationId Location Id when applicable (not available if a content was looked up) - viewType full/line/...
public getContentMeta ( ) : array
return array
 public function onAPIContentException(APIContentExceptionEvent $event)
 {
     $exception = $event->getApiException();
     $contentMeta = $event->getContentMeta();
     if ($exception instanceof ConverterNotFound) {
         if (isset($this->logger)) {
             $this->logger->notice('Missing field converter in legacy storage engine, forwarding to legacy kernel.', array('content' => $contentMeta));
         }
         if (isset($contentMeta['locationId'])) {
             $event->setContentView($this->legacyLVP->getView(new Location(array('id' => $contentMeta['locationId'])), $contentMeta['viewType']));
         } else {
             if (isset($contentMeta['contentId'])) {
                 $event->setContentView($this->legacyCVP->getView(new ContentInfo(array('id' => $contentMeta['contentId'])), $contentMeta['viewType']));
             }
         }
         $event->stopPropagation();
     }
 }