ContextualFeedbackSeverity

enum \TYPO3\CMS\Core\Type\ContextualFeedbackSeverity: int

Enum that contains message severities. It is backed by integer values to keep backwards compatibility to the previous AbstractMessage constants.

Table of Contents

Cases

ERROR  = 2
INFO  = -1
NOTICE  = -2
OK  = 0
WARNING  = 1

Methods

getCssClass()  : non-empty-string
getIconIdentifier()  : non-empty-string
transform()  : self|null
Internal helper method to convert integer based severities into their enum counterparts with logging deprecations.

Cases

Methods

getCssClass()

public getCssClass() : non-empty-string

Return values

non-empty-string

getIconIdentifier()

public getIconIdentifier() : non-empty-string

Return values

non-empty-string

transform()

Internal helper method to convert integer based severities into their enum counterparts with logging deprecations.

public static transform(int $originalSeverity) : self|null

Deprecated

Will be removed with TYPO3 13.0

Parameters

$originalSeverity : int

Return values

self|null
On this page