.. _applyCustomSettingsToViewEvent: ============================== ApplyCustomSettingsToViewEvent ============================== Allows you to add your own settings to the view. Attributes ========== .. confval:: emailView :name: emailView :required: true :type: TYPO3\CMS\Core\Mail\FluidEmail This is the view which can be extended with your custom settings. Subscribe this event ==================== First create an EventListener class in your Extension. It may look like this. .. code-block:: php :caption: EXT:my_extension/Classes/EventListeners/ApplyCustomSettingsToViewEventListener.php setEmailView($emailView); } } Now register this EventListener in your `Services.yaml`. .. code-block:: yaml :caption: EXT:my_extension/Configuration/Services.yaml MY\MyExtension\EventListener\ApplyCustomSettingsToViewEventListener: tags: - name: event.listener identifier: 'my-extension/apply-custom-settings-to-view-event' event: LIA\LiaForm\Event\ApplyCustomSettingsToViewEvent