You are here

function batch_set in Flysystem 8

1 call to batch_set()
ConfigForm::submitForm in src/Form/ConfigForm.php
Form submission handler.

File

tests/src/Unit/Form/ConfigFormTest.php, line 256

Namespace

Drupal\Tests\flysystem\Unit\Form

Code

function batch_set($batch = NULL) {
  static $last_batch;
  if (isset($batch)) {
    $last_batch = $batch;
  }
  return $last_batch;
}