function _batch_test_batch_8
Same name and namespace in other branches
- 10 core/modules/system/tests/modules/batch_test/batch_test.module \_batch_test_batch_8()
Batch 8: Throws an exception.
File
-
core/
modules/ system/ tests/ modules/ batch_test/ batch_test.module, line 196
Code
function _batch_test_batch_8() : array {
$batch_builder = (new BatchBuilder())->setFile(\Drupal::service('extension.list.module')->getPath('batch_test') . '/batch_test.callbacks.inc')
->addOperation('_batch_test_callback_8', [
FALSE,
])
->addOperation('_batch_test_callback_8', [
TRUE,
]);
return $batch_builder->toArray() + [
'batch_test_id' => 'batch_8',
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.