Skip to the content
Documentation

tutorialtutorial

Create the extension Bundle To extend PlatformUI, the very first thing to do is to create a Symfony bundle. For that, you can use the Symfony generate bundle command in the following way: Extending Tutorials Documentation on how to extend the functionality of eZ Platform and eZ Studio. Extending Tutorials Documentation on how to extend the functionality of eZ Platform and eZ Studio. Extending Tutorials (page id 30711140) Documentation on how to extend the functionality of eZ Platform and eZ Studio. Extending Tutorials Documentation on how to extend the functionality of eZ Platform and eZ Studio. Implementing the Tweet\Type class (page id 19890888) As said in the introduction, the Type class of a FieldType must implement eZ\Publish\SPI\FieldType\FieldType (later referred to as "FieldType interface"). Template implementation (page id 19890950) In order to display data of our FieldType from templates, we need to create and register a template for it. You can find documentation about FieldType templates on https://confluence.ez.no/display/EZP/FieldType+template, as well as on https://confluence.ez.no/display/EZP/import+settings+from+a+bundl Structuring the bundle (page id 19890837) Let’s start by creating the structure for our FieldType. To make it easier to move around the code, we will mimic to some extent the structure that is used in the kernel. Native FieldTypes are located inside exponential-kernel (in vendor/ezsystems), in the eZ/Publish/Core/FieldType folder. Each Fiel Structuring the bundle Let’s start by creating the structure for our FieldType. To make it easier to move around the code, we will mimic to some extent the structure that is used in the kernel. Native FieldTypes are located inside exponential-kernel (in vendor/ezsystems), in the eZ/Publish/Core/FieldType folder. Each Fiel Template implementation In order to display data of our FieldType from templates, we need to create and register a template for it. You can find documentation about FieldType templates on https://confluence.ez.no/display/EZP/FieldType+template, as well as on https://confluence.ez.no/display/EZP/import+settings+from+a+bundl