Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / drush / drush / src / Drupal / Commands / core / BatchCommands.php
diff --git a/vendor/drush/drush/src/Drupal/Commands/core/BatchCommands.php b/vendor/drush/drush/src/Drupal/Commands/core/BatchCommands.php
new file mode 100644 (file)
index 0000000..f2a5291
--- /dev/null
@@ -0,0 +1,21 @@
+<?php
+namespace Drush\Drupal\Commands\core;
+
+use Drush\Commands\DrushCommands;
+
+class BatchCommands extends DrushCommands
+{
+
+    /**
+     * Process operations in the specified batch set.
+     *
+     * @command batch:process
+     * @aliases batch-process
+     * @param $batch_id The batch id that will be processed.
+     * @hidden
+     */
+    public function process($batch_id)
+    {
+        return drush_batch_command($batch_id);
+    }
+}