function BatchBuilder::setUrlOptions

Same name in other branches
  1. 9 core/lib/Drupal/Core/Batch/BatchBuilder.php \Drupal\Core\Batch\BatchBuilder::setUrlOptions()
  2. 10 core/lib/Drupal/Core/Batch/BatchBuilder.php \Drupal\Core\Batch\BatchBuilder::setUrlOptions()
  3. 11.x 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 250

Class

BatchBuilder
Builds an array for a batch process.

Namespace

Drupal\Core\Batch

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.