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.