You are here

public function DomainAlias::getRedirect in Domain Access 8

Get the redirect value (301|302|NULL) for an alias record.

Return value

int The redirect value.

Overrides DomainAliasInterface::getRedirect

File

domain_alias/src/Entity/DomainAlias.php, line 125

Class

DomainAlias
Defines the domain alias entity.

Namespace

Drupal\domain_alias\Entity

Code

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