src/Contao/View/Contao2BackendView/Filter/LanguageFilter.php
public function handleAction(ActionEvent $event)
    {
        if (!$this->scopeDeterminator->currentScopeIsBackend()) {
            return;
        }

        $this->checkLanguage($event->getEnvironment(), 'create' === $event->getAction()->getName());
    }
public function handleAction(ActionEvent $event)
    {
        if (!$this->scopeDeterminator->currentScopeIsBackend()) {
            return;
        }

        $this->checkLanguage($event->getEnvironment(), 'create' === $event->getAction()->getName());
    }
public function handleAction ( ActionEvent $ event ) { if ( ! $ this -> scopeDeterminator -> currentScopeIsBackend ( ) ) { return ; } $ this -> checkLanguage ( $ event -> getEnvironment ( ) , 'create' === $ event -> getAction ( ) -> getName ( ) ) ; }
Handle action events.

@param ActionEvent $event The action event.

@return void
Handle action events .