Creating Drush ready batches with Drupal Batch API in Drupal 8/9 The objective of this short guide is the following: create a service for creating batches using Drupal Batch API, create a Drupal form for running the batches and create a Drush command for running batches. Batch API Drush command Drupal 9 Drupal 8