public function DomainAccessCheck::__construct in Domain Access 8
Constructs the object.
Parameters
\Drupal\domain\DomainNegotiatorInterface $negotiator: The domain negotiation service.
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.
\Drupal\Core\Path\PathMatcherInterface $path_matcher: The path matcher service.
File
- domain/
src/ Access/ DomainAccessCheck.php, line 49
Class
- DomainAccessCheck
- Provides a global access check to ensure inactive domains are restricted.
Namespace
Drupal\domain\AccessCode
public function __construct(DomainNegotiatorInterface $negotiator, ConfigFactoryInterface $config_factory, PathMatcherInterface $path_matcher) {
$this->domainNegotiator = $negotiator;
$this->configFactory = $config_factory;
$this->pathMatcher = $path_matcher;
}