You are here

protected property BatchBuilder::$file in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Batch/BatchBuilder.php \Drupal\Core\Batch\BatchBuilder::file
  2. 9 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;