service domain.validator in Domain Access 8
Class
Drupal\domain\DomainValidator7 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.
File
- domain/
domain.services.yml - domain/domain.services.yml
View source
- class: Drupal\domain\DomainValidator
- arguments:
- - '@module_handler'
- - '@config.factory'
- - '@http_client'
- - '@entity_type.manager'