‪TYPO3CMS  10.4
TYPO3\CMS\Form\ViewHelpers\TranslateElementErrorViewHelper Class Reference
Inheritance diagram for TYPO3\CMS\Form\ViewHelpers\TranslateElementErrorViewHelper:

Public Member Functions

 initializeArguments ()
 

Static Public Member Functions

static string renderStatic (array $arguments, \Closure $renderChildrenClosure, RenderingContextInterface $renderingContext)
 

Detailed Description

Translate form element properties.

Scope: frontend / backend

Definition at line 33 of file TranslateElementErrorViewHelper.php.

Member Function Documentation

◆ initializeArguments()

TYPO3\CMS\Form\ViewHelpers\TranslateElementErrorViewHelper::initializeArguments ( )

Initialize arguments.

Definition at line 41 of file TranslateElementErrorViewHelper.php.

◆ renderStatic()

static string TYPO3\CMS\Form\ViewHelpers\TranslateElementErrorViewHelper::renderStatic ( array  $arguments,
\Closure  $renderChildrenClosure,
RenderingContextInterface  $renderingContext 
)
static

Return array element by key.

Parameters
array$arguments
\Closure$renderChildrenClosure
RenderingContextInterface$renderingContext
Returns
‪string

Definition at line 55 of file TranslateElementErrorViewHelper.php.

References TYPO3\CMS\Form\Service\TranslationService\getInstance(), and TYPO3\CMS\Form\Service\TranslationService\translateFormElementError().