Null field type¶
This field type is used as fallback for migration scenarios, and for testing purposes.
| Name | Internal name | Expected input type |
|---|---|---|
Null |
(variable) | mixed |
Description¶
The Null field type aids when migrating from eZ Publish Platform and earlier legacy versions. It's a dummy for legacy field types that aren't implemented in Ibexa DXP.
Null field type accepts anything provided as a value and is usually combined with:
- NullConverter: Makes it not store anything to the legacy storage engine (database), nor it reads any data.
- Unindexed: Indexable class making sure nothing is indexed to configured search engine.
This field type doesn't have its own fixed internal name. Its identifier is instead configured as needed by passing it as an argument to the constructor.
Example for usage of Null field type¶
The following example shows how an example field type could be configured as a Null field type:
1 2 3 4 5 6 7 8 9 10 11 12 | |