Add context to the batch process so that it shows up in the the finished batch

Created on 4 April 2024, 2 months ago

Would like to add results to the finished batch, its currently does not break any functionality, but would be helpful to add this for this to the result set so that other batches alter can have the results set that is finished.

Problem/Motivation

Drupal\tmgmt;:doBatchSubmitFinished does not show any results performed by the batch.

Steps to reproduce

- Create a English node
- Go translate the node /en/node/[nid]/translations
- Checkout multiple language
- Request translation
- Submit all to provider

Proposed resolution

- Pass in the context arguments to the batch method and services.
- In the service assign the job to the $context['results']

Remaining tasks

- Add patch

User interface changes

- None

API changes

- None

Data model changes

- None

✨ Feature request
Status

Active

Version

1.0

Component

Core

Created by

πŸ‡ΊπŸ‡ΈUnited States johnle

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024