You are here

public function DomainInterface::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).

1 method overrides DomainInterface::getRedirect()
Domain::getRedirect in domain/src/Entity/Domain.php
Returns the redirect status of the current domain.

File

domain/src/DomainInterface.php, line 152

Class

DomainInterface
Provides an interface defining a domain entity.

Namespace

Drupal\domain

Code

public function getRedirect();