Problem/Motivation
A batch builder object was added in #2401797: Introduce a batch builder class to make the batch API easier to use. The Drupal core should be updated to use the batch builder.
The code to update can most easily be found by looking for the uses of batch_set()
. Example usage is in the class comment for \Drupal\Core\Batch\BatchBuilder
.
Proposed resolution
Use BatchBuilder in the following core modules:
- config - #2875283: Update config module to use the new batch builder
- locale - #2875288: Update locale module to use the new batch builder
- migrate_drupal_ui - #2875291: Update migrate_drupal_ui module to use the new batch builder
- node - #2875292: Update node module to use the new batch builder
- simpletest - #2875295: Update simpletest module to use the new batch builder
- system - #2875296: Update system module to use the new batch builder
- update - #2875300: Update update module to use the new batch builder
- user - #2875307: Update user module to use the new batch builder
Remaining tasks
Fix remaining test failures/code review items in the following core modules:simpletestsystemupdate
- Review patch
List of contributors
overall: john@johncook.me.uk
, mradcliffe
- config: rajeshwari10 at Valuebound, RajeevK at Sirius, Yogesh Pawar at QED42, James.Shee
- locale: lcngeo
- migrate_drupal_ui: rajeshwari10 at Valuebound, RajeevK at Sirius, Yogesh Pawar at QED42
- node: rajeshwari10 at Valuebound, RajeevK at Sirius, borisson_
- simpletest: time2buzzthetower, RajeevK at Sirius
- system: ccasals at Portland Webworks
- update: kavo
- user: ccasals at Portland Webworks