public function Setup::getDomain in DRD Agent 4.0.x
Same name and namespace in other branches
- 8.3 src/Setup.php \Drupal\drd_agent\Setup::getDomain()
Get the hostname to which we should redirect after confirmation.
Return value
string|false The hostname or FALSE.
File
- src/
Setup.php, line 92
Class
- Setup
- Class Setup.
Namespace
Drupal\drd_agentCode
public function getDomain() {
$this
->checkForRemoteSetupToken();
if (isset($this->values['redirect'])) {
return parse_url($this->values['redirect'], PHP_URL_HOST);
}
return FALSE;
}