Neos.Neos/Classes/Controller/Module/Management/WorkspacesController.php
public function editAction(Workspace $workspace)
    {
        $this->view->assign('workspace', $workspace);
        $this->view->assign('baseWorkspaceOptions', $this->prepareBaseWorkspaceOptions($workspace));
        $this->view->assign('disableBaseWorkspaceSelector', $this->publishingService->getUnpublishedNodesCount($workspace) > 0);
        $this->view->assign('showOwnerSelector', $this->userService->currentUserCanTransferOwnershipOfWorkspace($workspace));
        $this->view->assign('ownerOptions', $this->prepareOwnerOptions());
    }
public function editAction(Workspace $workspace)
    {
        $this->view->assign('workspace', $workspace);
        $this->view->assign('baseWorkspaceOptions', $this->prepareBaseWorkspaceOptions($workspace));
        $this->view->assign('disableBaseWorkspaceSelector', $this->publishingService->getUnpublishedNodesCount($workspace) > 0);
        $this->view->assign('showOwnerSelector', $this->userService->currentUserCanTransferOwnershipOfWorkspace($workspace));
        $this->view->assign('ownerOptions', $this->prepareOwnerOptions());
    }
public function editAction ( Workspace $ workspace ) { $ this -> view -> assign ( 'workspace' , $ workspace ) ; $ this -> view -> assign ( 'baseWorkspaceOptions' , $ this -> prepareBaseWorkspaceOptions ( $ workspace ) ) ; $ this -> view -> assign ( 'disableBaseWorkspaceSelector' , $ this -> publishingService -> getUnpublishedNodesCount ( $ workspace ) > 0 ) ; $ this -> view -> assign ( 'showOwnerSelector' , $ this -> userService -> currentUserCanTransferOwnershipOfWorkspace ( $ workspace ) ) ; $ this -> view -> assign ( 'ownerOptions' , $ this -> prepareOwnerOptions ( ) ) ; }
Edit a workspace

@param Workspace $workspace
@return void
Edit a workspace