BatchBuilder::$file

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Batch/BatchBuilder.php \Drupal\Core\Batch\BatchBuilder::file
  2. 8.9.x core/lib/Drupal/Core/Batch/BatchBuilder.php \Drupal\Core\Batch\BatchBuilder::file
  3. 10 core/lib/Drupal/Core/Batch/BatchBuilder.php \Drupal\Core\Batch\BatchBuilder::file

The file containing the operation and finished callbacks.

If the callbacks are in the .module file or can be autoloaded, for example, static methods on a class, then this does not need to be set.

Type: string

File

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

Class

BatchBuilder
Builds an array for a batch process.

Namespace

Drupal\Core\Batch

Code

protected $file;

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