ListRenderer implements FlashMessageRendererInterface

Read onlyYes

A class representing a html flash message as unordered markup list.

It is used in frontend context by default. The created output contains css classes which can be used to style the output individual. Any message contains the message and an optional title which is rendered as

tag if it is set in the FlashMessage object.

Table of Contents

Interfaces

FlashMessageRendererInterface
Interface must be implemented by all flash message renderer classes

Methods

render()  : string
Gets the message rendered as clean and secure markup

Methods

render()

Gets the message rendered as clean and secure markup

public render(array<string|int, FlashMessage$flashMessages) : string
Parameters
$flashMessages : array<string|int, FlashMessage>
Return values
string

Representation of the flash message


        
On this page

Search results