protected function DomainSourcePathProcessor::domainStorage in Domain Access 8
Retrieves the domain storage handler.
Return value
\Drupal\domain\DomainStorageInterface The domain storage handler.
File
- domain_source/
src/ HttpKernel/ DomainSourcePathProcessor.php, line 292
Class
- DomainSourcePathProcessor
- Processes the outbound path using path alias lookups.
Namespace
Drupal\domain_source\HttpKernelCode
protected function domainStorage() {
if (!$this->domainStorage) {
$this->domainStorage = $this->entityTypeManager
->getStorage('domain');
}
return $this->domainStorage;
}