DatabaseRowDefaultValues implements FormDataProviderInterface
Handle TCA default values on row. This affects existing rows as well as new rows.
Hint: Even after this class it is NOT safe no rely that all fields from columns are set in databaseRow.
Table of Contents
Interfaces
- FormDataProviderInterface
- Interface must be implemented by form data provider classes.
Methods
- addData() : array<string|int, mixed>
- Initialize new row with default values from various sources
Methods
addData()
Initialize new row with default values from various sources
public
addData(array<string|int, mixed> $result) : array<string|int, mixed>
Parameters
- $result : array<string|int, mixed>
-
Initialized result array