Handler class for handling the show events.

 Methods

Method to buffer the event and then process it.

handleEvent(\ContaoCommunityAlliance\DcGeneral\Event\ActionEvent $event) : void

Parameters

Handle the action.

process() : mixed

Returns

mixed

Guard that the data container is not in edit only mode.

guardNotEditOnly(\ContaoCommunityAlliance\DcGeneral\Data\ModelIdInterface $modelId) : void

Guard that the environment is prepared for models data definition.

guardValidEnvironment(\ContaoCommunityAlliance\DcGeneral\Data\ModelIdInterface $modelId) 

Parameters

Exceptions

\ContaoCommunityAlliance\DcGeneral\Exception\DcGeneralRuntimeException If data provider name of modelId and definition does not match.

Get response from edit action if we are in edit only mode.

isEditOnlyResponse() : bool
It returns true if the data definition is in edit only mode.

Returns

bool

 Properties