protected function LinkcheckerCleanUpTest::runBatch in Link checker 8
Runs the currently set batch, if any exists.
1 call to LinkcheckerCleanUpTest::runBatch()
- LinkcheckerCleanUpTest::testRemoveAllBatch in tests/
src/ Kernel/ LinkcheckerCleanUpTest.php - @covers ::removeAllBatch
File
- tests/
src/ Kernel/ LinkcheckerCleanUpTest.php, line 158
Class
- LinkcheckerCleanUpTest
- Test for linkchecker.clean_up service.
Namespace
Drupal\Tests\linkchecker\KernelCode
protected function runBatch() {
$batch =& batch_get();
if ($batch) {
$batch['progressive'] = FALSE;
batch_process();
}
}