‪TYPO3CMS  9.5
TYPO3\CMS\Form\ViewHelpers\TranslateElementPropertyViewHelper Class Reference
Inheritance diagram for TYPO3\CMS\Form\ViewHelpers\TranslateElementPropertyViewHelper:

Public Member Functions

 initializeArguments ()
 

Static Public Member Functions

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

Static Protected Member Functions

static assertArgumentTypes (array $arguments)
 

Detailed Description

Translate form element properties.

Scope: frontend / backend

Definition at line 31 of file TranslateElementPropertyViewHelper.php.

Member Function Documentation

◆ assertArgumentTypes()

static TYPO3\CMS\Form\ViewHelpers\TranslateElementPropertyViewHelper::assertArgumentTypes ( array  $arguments)
staticprotected
Parameters
array$arguments

Definition at line 86 of file TranslateElementPropertyViewHelper.php.

◆ initializeArguments()

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

Initialize arguments.

Definition at line 39 of file TranslateElementPropertyViewHelper.php.

◆ renderStatic()

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

Return array element by key.

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

Definition at line 54 of file TranslateElementPropertyViewHelper.php.

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

Referenced by TYPO3\CMS\Form\ViewHelpers\RenderAllFormValuesViewHelper\processElementValue().