public function deactivateAction(NodeInterface $node = null)
    {
        if ($node === null) {
            $node = $this->findNodeToEdit();
        }

        $this->session->start();
        $this->session->putData('__neosLegacyUiEnabled__', true);

        $this->redirect('show', 'Frontend\Node', 'Neos.Neos', ['node' => $node]);
    }
public function deactivateAction(NodeInterface $node = null)
    {
        if ($node === null) {
            $node = $this->findNodeToEdit();
        }

        $this->session->start();
        $this->session->putData('__neosLegacyUiEnabled__', true);

        $this->redirect('show', 'Frontend\Node', 'Neos.Neos', ['node' => $node]);
    }
public function deactivateAction ( NodeInterface $ node = null ) { if ( $ node === null ) { $ node = $ this -> findNodeToEdit ( ) ; } $ this -> session -> start ( ) ; $ this -> session -> putData ( '__neosLegacyUiEnabled__' , true ) ; $ this -> redirect ( 'show' , 'Frontend\Node' , 'Neos.Neos' , [ 'node' => $ node ] ) ; }
Deactivates the new UI and redirects back to the old one

@param NodeInterface|null $node
@return void
Deactivates the new UI and redirects back to the old one