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]);
    }