function _batch_test_finished_1

Same name in other branches
  1. 7.x modules/simpletest/tests/batch_test.callbacks.inc \_batch_test_finished_1()
  2. 9 core/modules/system/tests/modules/batch_test/batch_test.callbacks.inc \_batch_test_finished_1()
  3. 8.9.x core/modules/system/tests/modules/batch_test/batch_test.callbacks.inc \_batch_test_finished_1()
  4. 11.x core/modules/system/tests/modules/batch_test/batch_test.callbacks.inc \_batch_test_finished_1()

Implements callback_batch_finished().

Triggers 'finished' callback for batch 1.

2 string references to '_batch_test_finished_1'
BatchBuilderTest::testSetFile in core/tests/Drupal/Tests/Core/Batch/BatchBuilderTest.php
Tests setFile().
_batch_test_batch_1 in core/modules/system/tests/modules/batch_test/batch_test.module
Batch 1: Repeats a simple operation.

File

core/modules/system/tests/modules/batch_test/batch_test.callbacks.inc, line 186

Code

function _batch_test_finished_1($success, $results, $operations, $elapsed) {
    _batch_test_finished_helper(1, $success, $results, $operations, $elapsed);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.