Message-ID: <1798633566.3386.1485852900191.JavaMail.confluence@ip-10-127-227-164> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_3385_2098510722.1485852900177" ------=_Part_3385_2098510722.1485852900177 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html The Null Field Type

The Null Field Type

This Field Type is used as fallback and for testing purposes.

Name Internal name Expected input type
Null variable mixed

Description

As integration with Legacy Stack requires that all Field Types are also = also handled on 5.x stack side, Null Field Type is provided as a dummy for = legacy Field Types that are not really implemented on 5.x side.

Null Field Type will accept anything provided as a value, but will not s= tore anything to the database, nor will it read any data from the database.=

This Field Type does not have its own fixed internal name. Its identifie= r is instead configured as needed by passing it as an argument to the const= ructor.

Following example shows how Null Field Type is used to configure dummy i= mplementations for ezcomcomments and ezpaex legac= y datatypes:

Null Fieldtype example configuration
=20
parameters:
    ezpublish.fieldType.eznull.class: eZ\Publish\Core\FieldType\Null\Type

services:
    ezpublish.fieldType.ezcomcomments:
        class: %ezpublish.fieldType.eznull.class%
        parent: ezpublish.fieldType
        arguments: [ "ezcomcomments" ]
        tags:
            - {name: ezpublish.fieldType, alias: ezcomcomments}
    ezpublish.fieldType.ezpaex:
        class: %ezpublish.fieldType.eznull.class%
        parent: ezpublish.fieldType
        arguments: [ "ezpaex" ]
        tags:
            - {name: ezpublish.fieldType, alias: ezpaex}
=20
------=_Part_3385_2098510722.1485852900177--