Search for switchTo

  1. Search 7.x for switchTo
  2. Search 9.5.x for switchTo
  3. Search 10.3.x for switchTo
  4. Search 11.x for switchTo
  5. Other projects
Title Object type File name Summary
AccountSwitcher::switchTo function core/lib/Drupal/Core/Session/AccountSwitcher.php
AccountSwitcherInterface::switchTo function core/lib/Drupal/Core/Session/AccountSwitcherInterface.php Safely switches to another account.
MediaLibraryTestBase::switchToMediaLibraryGrid function core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php Switches to the grid display of the widget view.
MediaLibraryTestBase::switchToMediaLibraryTable function core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php Switches to the table display of the widget view.
MediaLibraryTestBase::switchToMediaType function core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php Clicks a media type tab and waits for it to appear.
SwitchToLiveForm class core/modules/workspaces/src/Form/SwitchToLiveForm.php Provides a form that switches to the live version of the site.
SwitchToLiveForm.php file core/modules/workspaces/src/Form/SwitchToLiveForm.php
SwitchToLiveForm::$workspaceManager property core/modules/workspaces/src/Form/SwitchToLiveForm.php The workspace manager.
SwitchToLiveForm::create function core/modules/workspaces/src/Form/SwitchToLiveForm.php
SwitchToLiveForm::getCancelUrl function core/modules/workspaces/src/Form/SwitchToLiveForm.php
SwitchToLiveForm::getDescription function core/modules/workspaces/src/Form/SwitchToLiveForm.php
SwitchToLiveForm::getFormId function core/modules/workspaces/src/Form/SwitchToLiveForm.php
SwitchToLiveForm::getQuestion function core/modules/workspaces/src/Form/SwitchToLiveForm.php
SwitchToLiveForm::submitForm function core/modules/workspaces/src/Form/SwitchToLiveForm.php
SwitchToLiveForm::__construct function core/modules/workspaces/src/Form/SwitchToLiveForm.php Constructs a new SwitchToLiveForm.
WorkspaceManager::switchToLive function core/modules/workspaces/src/WorkspaceManager.php
WorkspaceManagerInterface::switchToLive function core/modules/workspaces/src/WorkspaceManagerInterface.php Unsets the active workspace via the workspace negotiators.
WorkspaceSwitcherForm::submitSwitchToLive function core/modules/workspaces/src/Form/WorkspaceSwitcherForm.php Submit handler for switching to the live version of the site.
WorkspaceTestTrait::switchToWorkspace function core/modules/workspaces/tests/src/Kernel/WorkspaceTestTrait.php Sets a given workspace as active.
WorkspaceTestUtilities::switchToLive function core/modules/workspaces/tests/src/Functional/WorkspaceTestUtilities.php Switches to the live version of the site for subsequent requests.
WorkspaceTestUtilities::switchToWorkspace function core/modules/workspaces/tests/src/Functional/WorkspaceTestUtilities.php 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.