Handler class for handling the show events.

 Methods

{@inheritdoc}

getSubscribedEvents() 
Static

Handle action events.

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

Parameters

Check if the data provider is multi language and prepare the data provider with the selected language.

checkLanguage(\ContaoCommunityAlliance\DcGeneral\EnvironmentInterface $environment) : void
SuppressWarnings (PHPMD.Superglobals)
SuppressWarnings (PHPMD.CamelCaseVariableName)

Parameters

Check if the language has been switched.

checkLanguageSubmit(\ContaoCommunityAlliance\DcGeneral\EnvironmentInterface $environment) : void
If so, the value in the session will be updated and the page reloaded.

Parameters