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
The docs for the $sandbox
parameter of hook_post_update_NAME()
say:
* @param array $sandbox
* Stores information for batch updates. See above for more information.
...But there's no "above". This is the only time the sandbox size or batching in general are mentioned in the entire docblock.
It was obviously copied from the hook_update_N()
docs, which do include an "above" paragraph explaining batching.
Proposed resolution
Copy the relevant docs to the docblock.
Remaining tasks
NR.
User interface changes
N/A
API changes
N/A
Data model changes
N/A
Release notes snippet
N/A (docs addition).
Comment | File | Size | Author |
---|---|---|---|
#2 | extension-3018774-1.patch | 1.28 KB | xjm |
Comments
Comment #2
xjmComment #3
jibranDocs change looks good to me.
Comment #4
catchCommitted and pushed a9472244bf to 8.7.x and 4047cb0e27 to 8.6.x. Thanks!