You are here

public function BatchBuilder::setUrlOptions in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Batch/BatchBuilder.php \Drupal\Core\Batch\BatchBuilder::setUrlOptions()

Sets the options for redirect URLs.

Parameters

array $options: The options to use.

Return value

$this

See also

\Drupal\Core\Url

File

core/lib/Drupal/Core/Batch/BatchBuilder.php, line 251

Class

BatchBuilder
Builds an array for a batch process.

Namespace

Drupal\Core\Batch

Code

public function setUrlOptions(array $options) {
  $this->urlOptions = $options;
  return $this;
}