Skip to content
Snippets Groups Projects
Verified Commit f59520e3 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3307468 by darvanen: Improve Batch API $context['sandbox'] documentation

(cherry picked from commit 9514c30a)
parent 85df6364
Branches
Tags
9 merge requests!4488Issue #3376281: Random machine names no longer need to be wrapped in strtolower(),!3149Issue #3282285: Email "" does not comply with addr-spec of RFC 2822,!3000Issue #793660: Check for failure of hook_install,!2940Issue #3320240: Entity count query returns a string instead of int,!2937Issue #3315245: Order of languages overrides default language fallback,!2877Issue #3056652 by yogeshmpawar, mashermike, aalin, ranjith_kumar_k_u: Link...,!1627Issue #3082958: Add gitignore(s) to composer-ready project templates,!1014Issue #3226806: Move filter implementations from filter.module to plugin classes,!939Issue #2971209: Allow the MediaLibraryUiBuilder service to use an alternative view display
......@@ -34,9 +34,8 @@
* $context['sandbox'] will be there the next time this function is called
* for the current operation. For example, an operation may wish to store a
* pointer in a file or an offset for a large query. The 'sandbox' array key
* is not initially set when this callback is first called, which makes it
* useful for determining whether it is the first call of the callback or
* not:
* is empty when this callback is first called, which makes it useful for
* determining whether it is the first call of the callback or not:
* @code
* if (empty($context['sandbox'])) {
* // Perform set-up steps here.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment