You are here

public function DrupalMinkClient::followMetaRefresh in Drupal 8

Sets whether to automatically follow meta refresh redirects or not.

Parameters

bool $followMetaRefresh: (optional) Whether to follow meta redirects. Defaults to TRUE.

File

core/tests/Drupal/BuildTests/Framework/DrupalMinkClient.php, line 33

Class

DrupalMinkClient
Extend the Mink client for Drupal use-cases.

Namespace

Drupal\BuildTests\Framework

Code

public function followMetaRefresh(bool $followMetaRefresh = TRUE) {
  $this->followMetaRefresh = $followMetaRefresh;
}