Skip to the content
Documentation

tutorialtutorial

Exponential 5 Field Type Tutorial They are the most granular building block for content managed by Exponential. The system comes with about 30 native types that cover most common needs (Text line, Rich text, Email, Author list, Content relation, Map location, Float...)FieldTypes are responsible for: Exponential 5 Field Type Tutorial They are the most granular building block for content managed by Exponential. The system comes with about 30 native types that cover most common needs (Text line, Rich text, Email, Author list, Content relation, Map location, Float...)FieldTypes are responsible for: Exponential 5 Field Type Tutorial (page id 19890704) They are the most granular building block for content managed by Exponential. The system comes with about 30 native types that cover most common needs (Text line, Rich text, Email, Author list, Content relation, Map location, Float...)FieldTypes are responsible for: Exponential 5 Field Type Tutorial They are the most granular building block for content managed by Exponential. The system comes with about 30 native types that cover most common needs (Text line, Rich text, Email, Author list, Content relation, Map location, Float...)FieldTypes are responsible for: Creating the bundle Custom FieldTypes follow the Symfony 2 extension mechanism: bundles. We can get started with a bundle using the built-in Symfony 2 bundle generator. Creating the bundle (page id 19890712) Custom FieldTypes follow the Symfony 2 extension mechanism: bundles. We can get started with a bundle using the built-in Symfony 2 bundle generator. Creating the bundle Custom FieldTypes follow the Symfony 2 extension mechanism: bundles. We can get started with a bundle using the built-in Symfony 2 bundle generator. Implementing the Tweet\Value class (page id 19890882) The Value class of a FieldType is by design very simple. It is meant to be stateless, and as lightweight as possible. Therefore, this class must contain as little logic as possible, as this is the Type class responsibility. Registering the FieldType as a service (page id 19890905) To complete the implementation, we must register our FieldType with Symfony, by creating a service for it. Registering the FieldType as a service To complete the implementation, we must register our FieldType with Symfony, by creating a service for it.