This tutorial covers the creation and development of a custom eZ Platform Field Type.
Field Types are the smallest building blocks of content. eZ Platform comes with about 30 native types that cover most common needs (Text line, Rich text, Email, Author list, Content relation, Map location, Float, etc.)
Field Types are responsible for:
Storing data, either using the native storage engine mechanisms or specific means
Validating input data
Making the data searchable (if applicable)
Displaying Fields of this type
Custom Field Types are a very powerful type of extension, since they allow you to hook deep into the content model.
The tutorial will lead you through the following steps:
1. The bundle
Field Types, like any other eZ Platform plugin, must be provided as Symfony2 bundles. This chapter covers the creation and organization of this bundle. Read more about creating and structuring the bundle.