public function DomainNegotiatorInterface::getActiveDomain in Domain Access 8
Gets the active domain.
This method should be called by external classes using the negotiator service.
Parameters
bool $reset: Reset the internal cache of the active domain.
Return value
\Drupal\domain\DomainInterface The active domain object.
1 method overrides DomainNegotiatorInterface::getActiveDomain()
- DomainNegotiator::getActiveDomain in domain/
src/ DomainNegotiator.php - Gets the active domain.
File
- domain/
src/ DomainNegotiatorInterface.php, line 102
Class
- DomainNegotiatorInterface
- Handles the negotiation of the active domain record.
Namespace
Drupal\domainCode
public function getActiveDomain($reset = FALSE);