‪TYPO3CMS  ‪main
TYPO3\CMS\Backend\Form\Element\TextElement Class Reference
Inheritance diagram for TYPO3\CMS\Backend\Form\Element\TextElement:
TYPO3\CMS\Backend\Form\Element\AbstractFormElement TYPO3\CMS\Backend\Form\AbstractNode TYPO3\CMS\Backend\Form\NodeInterface

Public Member Functions

array render ()
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Backend\Form\Element\AbstractFormElement
 injectNodeFactory (NodeFactory $nodeFactory)
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Backend\Form\AbstractNode
 setData (array $data)

Protected Attributes

array $defaultFieldInformation
array $defaultFieldWizard
int $charactersPerRow = 40
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Backend\Form\Element\AbstractFormElement
int $defaultInputWidth = 30
int $minimumInputWidth = 10
int $maxInputWidth = 50
NodeFactory $nodeFactory
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Backend\Form\AbstractNode
array $data = []
array $defaultFieldInformation = array( )
array $defaultFieldControl = array( )
array $defaultFieldWizard = array( )

Additional Inherited Members

- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Backend\Form\Element\AbstractFormElement
array renderFieldInformation ()
array renderFieldControl ()
array renderFieldWizard ()
 renderLabel (string $for)
 wrapWithFieldsetAndLegend (string $innerHTML)
 hasNullCheckboxButNoPlaceholder ()
 hasNullCheckboxWithPlaceholder ()
string formatValue ($format, $itemValue, $formatOptions=[])
int formMaxWidth ($size=48)
 resolveJavaScriptEvaluation (array $resultArray, string $name, ?object $evalObject)
string checkBoxParams (string $itemName, int $formElementValue, int $checkbox, int $checkboxesCount, array $fieldChangeFuncs=[], bool $invert=false)
 calculateColumnMarkup (int $cols)
 appendValueToLabelInDebugMode (string|int $label, string|int $value)
 getLanguageService ()
 getBackendUser ()
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Backend\Form\AbstractNode
 initializeResultArray ()
array mergeChildReturnIntoExistingResult (array $existing, array $childReturn, bool $mergeHtml=true)
 getValidationDataAsJsonString (array $config)

Detailed Description

General type=text element

The InputTextElement renders a html textarea field.

Definition at line 30 of file TextElement.php.

Member Function Documentation

◆ render()

Member Data Documentation

◆ $charactersPerRow

int TYPO3\CMS\Backend\Form\Element\TextElement::$charactersPerRow = 40

The number of chars expected per row when the height of a text area field is automatically calculated based on the number of characters found in the field content.

Definition at line 69 of file TextElement.php.

◆ $defaultFieldInformation

array TYPO3\CMS\Backend\Form\Element\TextElement::$defaultFieldInformation
Initial value:
= array(
'tcaDescription' => [
'renderType' => 'tcaDescription',

Default field information enabled for this element.

Definition at line 36 of file TextElement.php.

◆ $defaultFieldWizard

array TYPO3\CMS\Backend\Form\Element\TextElement::$defaultFieldWizard
Initial value:
= array(
'localizationStateSelector' => [
'renderType' => 'localizationStateSelector',
'otherLanguageContent' => [
'renderType' => 'otherLanguageContent',
'after' => [
'defaultLanguageDifferences' => [
'renderType' => 'defaultLanguageDifferences',
'after' => [

Default field wizards enabled for this element.

Definition at line 46 of file TextElement.php.