You are here

function _batch_test_finished_2 in Drupal 8

Same name and namespace in other branches
  1. 7 modules/simpletest/tests/batch_test.callbacks.inc \_batch_test_finished_2()
  2. 9 core/modules/system/tests/modules/batch_test/batch_test.callbacks.inc \_batch_test_finished_2()
  3. 10 core/modules/system/tests/modules/batch_test/batch_test.callbacks.inc \_batch_test_finished_2()

Implements callback_batch_finished().

Triggers 'finished' callback for batch 2.

1 string reference to '_batch_test_finished_2'
_batch_test_batch_2 in core/modules/system/tests/modules/batch_test/batch_test.module
Batch 2: Performs a single multistep operation.

File

core/modules/system/tests/modules/batch_test/batch_test.callbacks.inc, line 190
Batch callbacks for the Batch API tests.

Code

function _batch_test_finished_2($success, $results, $operations) {
  _batch_test_finished_helper(2, $success, $results, $operations);
}