You are here

public function Domain::getRedirect in Domain Access 8

Returns the redirect status of the current domain.

Return value

int|null If numeric, the type of redirect to issue (301 or 302).

Overrides DomainInterface::getRedirect

File

domain/src/Entity/Domain.php, line 484

Class

Domain
Defines the domain entity.

Namespace

Drupal\domain\Entity

Code

public function getRedirect() {
  return $this->redirect;
}