You are here

public function Setup::getDomain in DRD Agent 8.3

Same name and namespace in other branches
  1. 4.0.x src/Setup.php \Drupal\drd_agent\Setup::getDomain()

Get the hostname to which we should redirect after confirmation.

Return value

string The hostname.

File

src/Setup.php, line 93

Class

Setup
Class Setup.

Namespace

Drupal\drd_agent

Code

public function getDomain() : string {
  $this
    ->checkForRemoteSetupToken();
  return parse_url($this->values['redirect'], PHP_URL_HOST);
}