Rewrite legacy datatype to eZ Platform field type
summary
A working eZ Platform field type replaces the legacy eZ Tags datatype by reimplementing the Tag value object, the Field Type, a Legacy storage converter + Gateway, and a Tag service so tags are readable, writable and indexable. Templates and service YAML register the type, and reverse-engineer eZ Tags uncovers the DB schema and settings. The implementation uses fromHash/toHash serialisation, stores data in legacy tables, renders tag lists in Twig, and updates content programmatically.
AI-written summary · about
chapters (15)
- 0:00Introduction
- 6:36Legacy data type overview
- 13:50Step 1: Value class
- 20:54Step 2: Type class
- 34:19Step 3: Tag class
- 47:47Writing field values
- 59:54Database storage setup
- 1:18:21Break
- 1:23:26Legacy Storage converter
- 1:38:10Search indexing
- 1:45:51Service registration
- 1:57:11Templating setup
- 2:07:02Dependency injection
- 2:19:16Testing the field type
- 2:37:11Q&A and conclusion








