Search for switchToLive
- Search 7.x for switchToLive
 - Search 9.5.x for switchToLive
 - Search 8.9.x for switchToLive
 - Search 11.x for switchToLive
 - Other projects
 
| Title | Object type | File name | Summary | 
|---|---|---|---|
| SwitchToLiveForm | class | core/ | 
                                                                                        Provides a form that switches to the live version of the site. | 
| SwitchToLiveForm.php | file | core/ | 
                                                                                        |
| SwitchToLiveForm::$workspaceManager | property | core/ | 
                                                                                        The workspace manager. | 
| SwitchToLiveForm::create | function | core/ | 
                                                                                        Instantiates a new instance of this class. | 
| SwitchToLiveForm::getCancelUrl | function | core/ | 
                                                                                        Returns the route to go to if the user cancels the action. | 
| SwitchToLiveForm::getDescription | function | core/ | 
                                                                                        Returns additional text to display as a description. | 
| SwitchToLiveForm::getFormId | function | core/ | 
                                                                                        Returns a unique string identifying the form. | 
| SwitchToLiveForm::getQuestion | function | core/ | 
                                                                                        Returns the question to ask the user. | 
| SwitchToLiveForm::submitForm | function | core/ | 
                                                                                        Form submission handler. | 
| SwitchToLiveForm::__construct | function | core/ | 
                                                                                        Constructs a new SwitchToLiveForm. | 
| WorkspaceManager::switchToLive | function | core/ | 
                                                                                        Unsets the active workspace via the workspace negotiators. | 
| WorkspaceManagerInterface::switchToLive | function | core/ | 
                                                                                        Unsets the active workspace via the workspace negotiators. | 
| WorkspaceSwitcherForm::submitSwitchToLive | function | core/ | 
                                                                                        Submit handler for switching to the live version of the site. | 
| WorkspaceTestTrait::switchToLive | function | core/ | 
                                                                                        Switches the test runner's context to Live. | 
| WorkspaceTestUtilities::switchToLive | function | core/ | 
                                                                                        Switches to the live version of the site for subsequent requests. | 
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.