Search for switchTo
- Search 7.x for switchTo
 - Search 9.5.x for switchTo
 - Search 8.9.x for switchTo
 - Search 10.3.x for switchTo
 - Other projects
 
| Title | Object type | File name | Summary | 
|---|---|---|---|
| AccountSwitcher::switchTo | function | core/ | 
                                                                                        Safely switches to another account. | 
| AccountSwitcherInterface::switchTo | function | core/ | 
                                                                                        Safely switches to another account. | 
| AdminAccountSwitcher::switchTo | function | core/ | 
                                                                                        Safely switches to another account. | 
| AdminAccountSwitcher::switchToAdministrator | function | core/ | 
                                                                                        Switches to an administrative account. | 
| AdminAccountSwitcherTest::testSwitchToAdministrator | function | core/ | 
                                                                                        Tests switching to a user with an administrative role. | 
| AdminAccountSwitcherTest::testSwitchToAndSwitchBack | function | core/ | 
                                                                                        Tests switching and switching back. | 
| CKEditor5AllowedTagsTest::testSwitchToVersion5 | function | core/ | 
                                                                                        Confirm that switching to CKEditor 5 from another editor updates tags. | 
| MediaLibraryTestBase::switchToMediaLibraryGrid | function | core/ | 
                                                                                        Switches to the grid display of the widget view. | 
| MediaLibraryTestBase::switchToMediaLibraryTable | function | core/ | 
                                                                                        Switches to the table display of the widget view. | 
| MediaLibraryTestBase::switchToMediaType | function | core/ | 
                                                                                        Clicks a media type tab and waits for it to appear. | 
| 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. | 
| WorkspaceManagerInterface::switchToLive | function | core/ | 
                                                                                        Unsets the active workspace. | 
| 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. | 
| WorkspaceTestTrait::switchToWorkspace | function | core/ | 
                                                                                        Sets a given workspace as active. | 
| WorkspaceTestUtilities::switchToLive | function | core/ | 
                                                                                        Switches to the live version of the site for subsequent requests. | 
| WorkspaceTestUtilities::switchToWorkspace | function | core/ | 
                                                                                        Sets a given workspace as "active" for subsequent requests. | 
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.