eZ Platform Discussions

Overrides Richtext Bundle


#1

Hi,

I’d like to override RichText bundle service and catch event on PRE_SUBMIT/POST_SAVE.

I create a service :
AppBundle\Form\Type\RichTextFieldType:
parent: EzSystems\EzPlatformRichText\Form\Type\RichTextFieldType
arguments:
$fieldTypeService: ‘@ezpublish.api.service.field_type
$docbookToXhtml5EditConverter: ‘@ezrichtext.converter.edit.xhtml5

EzSystems\EzPlatformRichText\eZ\RichText\Converter: ‘@ezrichtext.converter.edit.xhtml5

EzSystems\EzPlatformRichText\Form\Type\RichTextFieldType:
alias: AppBundle\Form\Type\RichTextFieldType

I have no error but code not pass in buildForm .

Have you any idea ?