Class ResolveWidgetErrorMessageEvent.

This event gets emitted when the error message of a widget shall get resolved.

 Methods

Create a new instance of the event.

__construct(\ContaoCommunityAlliance\DcGeneral\EnvironmentInterface $environment, string $error) 

Parameters

$environment

\ContaoCommunityAlliance\DcGeneral\EnvironmentInterface

The environment in use.

$error

string

The error message.

Retrieve the error message.

getError() : mixed

Returns

mixed

 Properties

 

The error message.

$error : mixed

 Constants

 

NAME

NAME