protected function WebTestBase::restoreBatch in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/simpletest/src/WebTestBase.php \Drupal\simpletest\WebTestBase::restoreBatch()
Restore the original batch.
See also
::setBatch
2 calls to WebTestBase::restoreBatch()
- UpdatePathTestBase::setUp in core/
modules/ system/ src/ Tests/ Update/ UpdatePathTestBase.php - Overrides WebTestBase::setUp() for update testing.
- WebTestBase::setUp in core/
modules/ simpletest/ src/ WebTestBase.php - Sets up a Drupal site for running functional and integration tests.
File
- core/
modules/ simpletest/ src/ WebTestBase.php, line 970 - Contains \Drupal\simpletest\WebTestBase.
Class
- WebTestBase
- Test case for typical Drupal tests.
Namespace
Drupal\simpletestCode
protected function restoreBatch() {
// Restore the original Simpletest batch.
$batch =& batch_get();
$batch = $this->originalBatch;
}