You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem/Motivation
The motivation is the same as this issue for the Drupal Core batch API: https://www.drupal.org/project/drupal/issues/3401873.
The batch API takes callbacks, but these have to be functions or static methods on classes.
If we use the callable resolver, we can also allow callbacks in service notation, that is, in the form my_service:methodName.
Proposed resolution
Changes similar to those made to core/includes/batch.inc in this merge request could be implemented in function _drush_batch_worker() on batch.inc
The text was updated successfully, but these errors were encountered:
Problem/Motivation
The motivation is the same as this issue for the Drupal Core batch API: https://www.drupal.org/project/drupal/issues/3401873.
The batch API takes callbacks, but these have to be functions or static methods on classes.
If we use the callable resolver, we can also allow callbacks in service notation, that is, in the form
my_service:methodName
.Proposed resolution
Changes similar to those made to
core/includes/batch.inc
in this merge request could be implemented infunction _drush_batch_worker()
on batch.incThe text was updated successfully, but these errors were encountered: