BatchBuilder::$operations

Same name in other branches
  1. 9 core/lib/Drupal/Core/Batch/BatchBuilder.php \Drupal\Core\Batch\BatchBuilder::operations
  2. 10 core/lib/Drupal/Core/Batch/BatchBuilder.php \Drupal\Core\Batch\BatchBuilder::operations
  3. 11.x core/lib/Drupal/Core/Batch/BatchBuilder.php \Drupal\Core\Batch\BatchBuilder::operations

The set of operations to be processed.

Each operation is a tuple of the function / method to use and an array containing any parameters to be passed.

Type: array

File

core/lib/Drupal/Core/Batch/BatchBuilder.php, line 33

Class

BatchBuilder
Builds an array for a batch process.

Namespace

Drupal\Core\Batch

Code

protected $operations = [];

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