---
title: "[FlashMessage]"
manual: "Form"
version: "14.3"
permalink: "https://docs.typo3.org/permalink/typo3/cms-form:prototypes-prototypeidentifier-finishersdefinition-flashmessage@14.3"
source: "I/Config/proto/finishersDefinition/finishers/FlashMessage.rst"
rendered: "2026-09-19T11:59:02+00:00"
---

# \[FlashMessage\] {#prototypes-prototypeidentifier-finishersdefinition-flashmessage}

## Properties {#prototypes-prototypeidentifier-finishersdefinitionflashmessage-properties}

### implementationClassName {#prototypes-prototypeidentifier-finishersdefinition-flashmessage-implementationclassname}

-   ***Option path***

    prototypes.\<prototypeIdentifier>.finishersDefinition.FlashMessage.implementationClassName

-   ***Data type***

    string

-   ***Needed by***

    Frontend

-   ***Mandatory***

    Yes

-   ***Default value***

    ```yaml
    FlashMessage:
      implementationClassName: TYPO3\CMS\Form\Domain\Finishers\FlashMessageFinisher
    ```

-   ***Good to know***

    -   ["Custom finisher implementations"](https://docs.typo3.org/permalink/typo3/cms-form:concepts-finishers-customfinisherimplementations@14.3)

-   ***Description***

    Classname which implements the finisher.

### options.messageBody {#prototypes-prototypeidentifier-finishersdefinition-flashmessage-options-messagebody}

-   ***Option path***

    prototypes.\<prototypeIdentifier>.finishersDefinition.FlashMessage.options.messageBody

-   ***Data type***

    string

-   ***Needed by***

    Frontend

-   ***Mandatory***

    Yes

-   ***Default value***

    null

-   ***Good to know***

    -   ["FlashMessage finisher"](https://docs.typo3.org/permalink/typo3/cms-form:apireference-finisheroptions-flashmessagefinisher@14.3)
    -   ["Accessing form runtime values"](https://docs.typo3.org/permalink/typo3/cms-form:concepts-finishers-customfinisherimplementations-accessingoptions-formruntimeaccessor@14.3)
    -   ["Translate finisher options"](https://docs.typo3.org/permalink/typo3/cms-form:concepts-frontendrendering-translation-finishers@14.3)

-   ***Description***

    The flash message body TEXT.

### options.messageTitle {#prototypes-prototypeidentifier-finishersdefinition-flashmessage-options-messagetitle}

-   ***Option path***

    prototypes.\<prototypeIdentifier>.finishersDefinition.FlashMessage.options.messageTitle

-   ***Data type***

    string

-   ***Needed by***

    Frontend

-   ***Mandatory***

    No

-   ***Default value***

    empty string

-   ***Good to know***

    -   ["FlashMessage finisher"](https://docs.typo3.org/permalink/typo3/cms-form:apireference-finisheroptions-flashmessagefinisher@14.3)
    -   ["Accessing form runtime values"](https://docs.typo3.org/permalink/typo3/cms-form:concepts-finishers-customfinisherimplementations-accessingoptions-formruntimeaccessor@14.3)
    -   ["Translate finisher options"](https://docs.typo3.org/permalink/typo3/cms-form:concepts-frontendrendering-translation-finishers@14.3)

-   ***Description***

    The flash message title.

### options.messageArguments {#prototypes-prototypeidentifier-finishersdefinition-flashmessage-options-messagearguments}

-   ***Option path***

    prototypes.\<prototypeIdentifier>.finishersDefinition.FlashMessage.options.messageArguments

-   ***Data type***

    array

-   ***Needed by***

    Frontend

-   ***Mandatory***

    No

-   ***Default value***

    empty array

-   ***Good to know***

    -   ["FlashMessage finisher"](https://docs.typo3.org/permalink/typo3/cms-form:apireference-finisheroptions-flashmessagefinisher@14.3)
    -   ["Accessing form runtime values"](https://docs.typo3.org/permalink/typo3/cms-form:concepts-finishers-customfinisherimplementations-accessingoptions-formruntimeaccessor@14.3)
    -   ["Translate finisher options"](https://docs.typo3.org/permalink/typo3/cms-form:concepts-frontendrendering-translation-finishers@14.3)

-   ***Description***

    The flash message arguments, if needed.

### options.messageCode {#prototypes-prototypeidentifier-finishersdefinition-flashmessage-options-messagecode}

-   ***Option path***

    prototypes.\<prototypeIdentifier>.finishersDefinition.FlashMessage.options.messageCode

-   ***Data type***

    int

-   ***Needed by***

    Frontend

-   ***Mandatory***

    Yes

-   ***Default value***

    null

-   ***Good to know***

    -   ["FlashMessage finisher"](https://docs.typo3.org/permalink/typo3/cms-form:apireference-finisheroptions-flashmessagefinisher@14.3)

-   ***Description***

    The flash message code, if needed.

### options.severity {#prototypes-prototypeidentifier-finishersdefinition-flashmessage-options-severity}

-   ***Option path***

    prototypes.\<prototypeIdentifier>.finishersDefinition.FlashMessage.options.severity

-   ***Data type***

    Enum\<TYPO3CMSCoreTypeContextualFeedbackSeverity>|int

-   ***Needed by***

    Frontend

-   ***Mandatory***

    No

-   ***Default value***

    `\TYPO3\CMS\Core\Type\ContextualFeedbackSeverity::OK` (0)

-   ***Good to know***

    -   ["FlashMessage finisher"](https://docs.typo3.org/permalink/typo3/cms-form:apireference-finisheroptions-flashmessagefinisher@14.3)

-   ***Description***

    The flash message severity code.
    See [EXT:core/Classes/Type/ContextualFeedbackSeverity.php (GitHub)](https://github.com/typo3/typo3/blob/main/typo3/sysext/core/Classes/Type/ContextualFeedbackSeverity.php) cases for the codes.

    Important: in YAML-based form definitions, the PHP enums cannot be used.

### options.translation.propertiesExcludedFromTranslation {#prototypes-prototypeidentifier-finishersdefinition-flashmessage-options-translation-propertiesexcludedfromtranslation}

-   ***Option path***

    prototypes.\<prototypeIdentifier>.finishersDefinition.FlashMessage.options.translation.propertiesExcludedFromTranslation

-   ***Data type***

    array

-   ***Needed by***

    Frontend

-   ***Mandatory***

    No

-   ***Default value***

    undefined

-   ***Good to know***

    -   ["FlashMessage finisher"](https://docs.typo3.org/permalink/typo3/cms-form:apireference-finisheroptions-flashmessagefinisher@14.3)
    -   ["Accessing form runtime values"](https://docs.typo3.org/permalink/typo3/cms-form:concepts-finishers-customfinisherimplementations-accessingoptions-formruntimeaccessor@14.3)
    -   ["Translate finisher options"](https://docs.typo3.org/permalink/typo3/cms-form:concepts-frontendrendering-translation-finishers@14.3)

-   ***Description***

    Localization from translation files will be skipped for all specified finisher options.

### options.translation.translationFiles {#prototypes-prototypeidentifier-finishersdefinition-flashmessage-options-translation-translationfiles}

-   ***Option path***

    prototypes.\<prototypeIdentifier>.finishersDefinition.FlashMessage.options.translation.translationFiles

-   ***Data type***

    string/ array

-   ***Needed by***

    Frontend

-   ***Mandatory***

    No

-   ***Default value***

    undefined

-   ***Good to know***

    -   ["FlashMessage finisher"](https://docs.typo3.org/permalink/typo3/cms-form:apireference-finisheroptions-flashmessagefinisher@14.3)
    -   ["Accessing form runtime values"](https://docs.typo3.org/permalink/typo3/cms-form:concepts-finishers-customfinisherimplementations-accessingoptions-formruntimeaccessor@14.3)
    -   ["Translate finisher options"](https://docs.typo3.org/permalink/typo3/cms-form:concepts-frontendrendering-translation-finishers@14.3)

-   ***Description***

    If set, this translation file(s) will be used for finisher option translations.
    If not set, the translation file(s) from the 'Form' element will be used.
    Read [Translate finisher options](https://docs.typo3.org/permalink/typo3/cms-form:concepts-frontendrendering-translation-finishers@14.3) for more informations.

### formeditor.iconIdentifier {#prototypes-prototypeidentifier-finishersdefinition-flashmessage-formeditor-iconidentifier}

-   ***Option path***

    prototypes.\<prototypeIdentifier>.finishersDefinition.FlashMessage.formEditor.iconIdentifier

-   ***Data type***

    string

-   ***Needed by***

    Backend (form editor)

-   ***Mandatory***

    Yes

-   ***Default value***

    ```yaml
    FlashMessage:
      formEditor:
        iconIdentifier: form-finisher
        label: formEditor.elements.Form.finisher.FlashMessage.editor.header.label
        predefinedDefaults:
          options:
            messageBody: ''
            messageTitle: ''
            messageArguments: ''
            messageCode: 0
            severity: 0
    ```

-   ***Description***

    An icon identifier which must be registered through the `\TYPO3\CMS\Core\Imaging\IconRegistry`.
    This icon will be shown within the - ["Inspector \[CollectionElementHeaderEditor\]"](https://docs.typo3.org/permalink/typo3/cms-form:prototypes-prototypeidentifier-formelementsdefinition-formelementtypeidentifier-formeditor-editors-collectionelementheadereditor@14.3) if the finisher is selected.

### formeditor.label {#prototypes-prototypeidentifier-finishersdefinition-flashmessage-formeditor-label}

-   ***Option path***

    prototypes.\<prototypeIdentifier>.finishersDefinition.FlashMessage.formEditor.label

-   ***Data type***

    string

-   ***Needed by***

    Backend (form editor)

-   ***Mandatory***

    Yes

-   ***Default value***

    ```yaml
    FlashMessage:
      formEditor:
        iconIdentifier: form-finisher
        label: formEditor.elements.Form.finisher.FlashMessage.editor.header.label
        predefinedDefaults:
          options:
            messageBody: ''
            messageTitle: ''
            messageArguments: ''
            messageCode: 0
            severity: 0
    ```

-   ***Good to know***

    -   ["Translate form editor settings"](https://docs.typo3.org/permalink/typo3/cms-form:concepts-formeditor-translation-formeditor@14.3)

-   ***Description***

    This label will be shown within the - ["Inspector \[CollectionElementHeaderEditor\]"](https://docs.typo3.org/permalink/typo3/cms-form:prototypes-prototypeidentifier-formelementsdefinition-formelementtypeidentifier-formeditor-editors-collectionelementheadereditor@14.3) if the finisher is selected.

### formeditor.predefinedDefaults {#prototypes-prototypeidentifier-finishersdefinition-flashmessage-formeditor-predefineddefaults}

-   ***Option path***

    prototypes.\<prototypeIdentifier>.finishersDefinition.FlashMessage.formEditor.predefinedDefaults

-   ***Data type***

    array

-   ***Needed by***

    Backend (form editor)

-   ***Mandatory***

    No

-   ***Default value***

    ```yaml
    FlashMessage:
      formEditor:
        iconIdentifier: form-finisher
        label: formEditor.elements.Form.finisher.FlashMessage.editor.header.label
        predefinedDefaults:
          options:
            messageBody: ''
            messageTitle: ''
            messageArguments: ''
            messageCode: 0
            severity: 0
    ```

-   ***Description***

    Defines predefined defaults for finisher options which are prefilled, if the finisher is added to a form.
