You are here

public function DomainNegotiator::getActiveId in Domain Access 8

Gets the id of the active domain.

Return value

string The id of the active domain.

Overrides DomainNegotiatorInterface::getActiveId

File

domain/src/DomainNegotiator.php, line 165

Class

DomainNegotiator

Namespace

Drupal\domain

Code

public function getActiveId() {
  return $this->domain
    ->id();
}