TcaText implements FormDataProviderInterface
Read onlyYes
Resolve databaseRow field content for type=text, especially handle richtext transformations "from db to rte"
Table of Contents
Interfaces
- FormDataProviderInterface
- Interface must be implemented by form data provider classes.
Methods
- __construct() : mixed
- addData() : array<string|int, mixed>
- Handle text field content, especially richtext transformation
Methods
__construct()
public
__construct(Richtext $richtext, RteHtmlParser $rteHtmlParser) : mixed
Parameters
- $richtext : Richtext
- $rteHtmlParser : RteHtmlParser
addData()
Handle text field content, especially richtext transformation
public
addData(array<string|int, mixed> $result) : array<string|int, mixed>
Parameters
- $result : array<string|int, mixed>
-
Given result array
Return values
array<string|int, mixed> —Modified result array