protected function DomainNegotiator::domainStorage in Domain Access 8
Retrieves the domain storage handler.
Return value
\Drupal\domain\DomainStorageInterface The domain storage handler.
File
- domain/
src/ DomainNegotiator.php, line 228
Class
Namespace
Drupal\domainCode
protected function domainStorage() {
if (!$this->domainStorage) {
$this->domainStorage = $this->entityTypeManager
->getStorage('domain');
}
return $this->domainStorage;
}