type = 'passthrough'¶
Introduction¶
This type can be saved/updated through DataHandler but the value is not evaluated in any way and the field has no rendering in FormEngine.
You can use this to send values directly to the database fields without any automatic evaluation. But still the update gets logged and the history/undo function will work with such values.
Since there is no rendering mode for this field type it is specifically fitted for direct API usage with the DataHandler.
Examples¶
This field is found in a number of tables, for instance the "pages" table. It is used by the system extension "impexp" to store some information.
'tx_impexp_origuid' => [
'config' => [
'type' => 'passthrough'
],
],
renderType default¶
This type has no renderType, so setting it is useless. However, some properties like default are applied
through the DataHandler if storing a record with a passthrough field.
default¶
- Datatype
- integer / string
- Scope
- Display / Proc.
- Description
- Default value set if a new record is created.