public function DomainInterface::setMatchType in Domain Access 8
Sets the type of record match returned by the negotiator.
Parameters
int $match_type: A numeric constant indicating the type of match derived by the caller. Use this value to determine if the request needs to be overridden. Valid types are DomainNegotiatorInterface::DOMAIN_MATCH_NONE, DomainNegotiatorInterface::DOMAIN_MATCH_EXACT, DomainNegotiatorInterface::DOMAIN_MATCH_ALIAS.
1 method overrides DomainInterface::setMatchType()
- Domain::setMatchType in domain/
src/ Entity/ Domain.php - Sets the type of record match returned by the negotiator.
File
- domain/
src/ DomainInterface.php, line 204
Class
- DomainInterface
- Provides an interface defining a domain entity.
Namespace
Drupal\domainCode
public function setMatchType($match_type = DomainNegotiatorInterface::DOMAIN_MATCHED_EXACT);