You are here

service domain.validator in Domain Access 8

Class

Drupal\domain\DomainValidator
7 string references to domain.validator
Domain::getResponse in domain/src/Entity/Domain.php
Retrieves the value of the response test.
DomainCommands::checkDomain in domain/src/Commands/DomainCommands.php
Checks if a domain exists by trying to do an http request to it.
DomainCommands::validateDomain in domain/src/Commands/DomainCommands.php
Validates a domain meets the standards for a hostname.
DomainForm::create in domain/src/DomainForm.php
Instantiates a new instance of this class.
DomainHookTest::testHookDomainValidate in domain/tests/src/Kernel/DomainHookTest.php
Tests domain validation.

... See full list

File

domain/domain.services.yml
domain/domain.services.yml

View source
  1. class: Drupal\domain\DomainValidator
  2. arguments:
  3. - '@module_handler'
  4. - '@config.factory'
  5. - '@http_client'
  6. - '@entity_type.manager'