BootstrapRenderer

readonly class \TYPO3\CMS\Core\Messaging\Renderer\BootstrapRenderer

Implements
FlashMessageRendererInterface

A class representing a bootstrap flash messages.

This class renders flash messages as markup, based on the bootstrap HTML/CSS framework. It is used in backend context. The created output contains all classes which are required for the TYPO3 backend. Any kind of message contains also a nice icon.

Attributes

#[Autoconfigure]
$public: true

Table of Contents

Interfaces

FlashMessageRendererInterface
Interface must be implemented by all flash message renderer classes

Methods

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

Methods

render()

Gets the message rendered as clean and secure markup

public render(FlashMessage[] $flashMessages) : string

Parameters

$flashMessages : FlashMessage[]

Return values

string —

Representation of the flash message

On this page