BatchBuilder::$file
Same name in other branches
- 9 core/lib/Drupal/Core/Batch/BatchBuilder.php \Drupal\Core\Batch\BatchBuilder::file
- 8.9.x core/lib/Drupal/Core/Batch/BatchBuilder.php \Drupal\Core\Batch\BatchBuilder::file
- 11.x 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\BatchCode
protected $file;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.