[TASK] Make function filereferenceToApi public
This commit is contained in:
parent
57a4e34eb9
commit
0c534753d8
@ -213,7 +213,13 @@ class ApiUtility
|
||||
return $result;
|
||||
}
|
||||
|
||||
private function filereferenceToApi($object) {
|
||||
public function filereferenceToApi($object) {
|
||||
$this->objectManager = GeneralUtility::makeInstance(
|
||||
ObjectManager::class
|
||||
);
|
||||
$this->imageService = $this->objectManager->get(
|
||||
imageService::class
|
||||
);
|
||||
$httpHost = GeneralUtility::getIndpEnv('HTTP_HOST');
|
||||
$requestHost = GeneralUtility::getIndpEnv('TYPO3_REQUEST_HOST');
|
||||
$publicUrl = $object->getPublicUrl();
|
||||
|
Loading…
x
Reference in New Issue
Block a user