‪TYPO3CMS  9.5
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 properites.

Scope: frontend / backend

Definition at line 31 of file TranslateElementErrorViewHelper.php.

Member Function Documentation

◆ initializeArguments()

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

Initialize arguments.

Definition at line 39 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 56 of file TranslateElementErrorViewHelper.php.

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