Neos\Neos\Controller\Backend\BackendController::xliffAsJsonAction PHP Méthode

xliffAsJsonAction() public méthode

Returns the cached json array with the xliff labels
public xliffAsJsonAction ( string $locale ) : string
$locale string
Résultat string
    public function xliffAsJsonAction($locale)
    {
        $this->response->setHeader('Content-Type', 'application/json');
        return $this->xliffService->getCachedJson(new Locale($locale));
    }