2 namespace TYPO3\CMS\Form\Controller;
32 $this->
getLanguageService()->includeLLFile(
'EXT:form/Resources/Private/Language/locallang_wizard.xlf');
48 $content = $view->render();
49 $response->
getBody()->write($content);
67 if ($repository->hasRecord()) {
69 $success = $repository->save();
78 $response->
getBody()->write(json_encode([
'message' => $message]));
80 ->
withHeader(
'Expires',
'Mon, 26 Jul 1997 05:00:00 GMT')
81 ->withHeader(
'Last-Modified', gmdate(
'D, d M Y H:i:s') .
'GMT')
82 ->withHeader(
'Cache-Control',
'no-cache, must-revalidate')
83 ->withHeader(
'Pragma',
'no-cache');
100 $result = [
'message' => $this->
getLanguageService()->getLL(
'action_load_message_failed',
false)];
102 $result = [
'configuration' => $result];
104 $response->
getBody()->write(json_encode($result));
106 ->
withHeader(
'Expires',
'Mon, 26 Jul 1997 05:00:00 GMT')
107 ->withHeader(
'Last-Modified', gmdate(
'D, d M Y H:i:s') .
'GMT')
108 ->withHeader(
'Cache-Control',
'no-cache, must-revalidate')
109 ->withHeader(
'Pragma',
'no-cache');