function batch_get

×

Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
cis7 form.inc &batch_get()
cle7 form.inc &batch_get()
elmsmedia7 form.inc &batch_get()
icor7 form.inc &batch_get()
meedjum_blog7 form.inc &batch_get()
mooc7 form.inc &batch_get()

Retrieves the current batch.

Related topics

19 calls to batch_get()
authorize.php in ./authorize.php
Administrative script for running authorized file operations.
batch_process in includes/form.inc
Processes the batch.
batch_set in includes/form.inc
Adds a new batch.
book_copy_process_copy in sites/all/modules/elmsln_contrib/book_copy/book_copy.module
Execute a batch process.
drupal_process_form in includes/form.inc
Processes a form submission.

... See full list

File

includes/form.inc, line 4574
Functions for form and batch generation and processing.

Code

function &batch_get() {
  // Not drupal_static(), because Batch API operates at a lower level than most
  // use-cases for resetting static variables, and we specifically do not want a
  // global drupal_static_reset() resetting the batch information. Functions
  // that are part of the Batch API and need to reset the batch information may
  // call batch_get() and manipulate the result by reference. Functions that are
  // not part of the Batch API can also do this, but shouldn't.
  static $batch = array();
  return $batch;
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.