Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
As the batch API was converted into OO syntax and then into a service in into a service the dblog module needs to be updated to reference the new service.
Proposed resolution
Update the the comments that reference the batch api in core/modules/dblog/*
to reference the batch api service.
Remaining tasks
- Update the code
User interface changes
None
API changes
None
Data model changes
None
Comments
Comment #2
dagmarAs far I know, dblog module doesn't use the batch api.
Comment #3
John Cook CreditAttribution: John Cook commented@dagmar, I grepped for common batch API functions and I found a reference to batch_process() in a comment in
core/modules/dblog/src/Tests/DbLogTest.php
.This function is going to be deprecated, so it's just to update the comment when it is for completeness.
Comment #4
dagmarThanks @John Cook
Comment #7
John Cook CreditAttribution: John Cook commented