interface DomainAliasValidatorInterface in Domain Access 8
Supplies validator methods for common domain requests.
Hierarchy
- interface \Drupal\domain_alias\DomainAliasValidatorInterface
Expanded class hierarchy of DomainAliasValidatorInterface
All classes that implement DomainAliasValidatorInterface
File
- domain_alias/
src/ DomainAliasValidatorInterface.php, line 8
Namespace
Drupal\domain_aliasView source
interface DomainAliasValidatorInterface {
/**
* Validates the rules for a domain alias.
*
* @param \Drupal\domain_alias\DomainAliasInterface $alias
* The domain alias to validate.
*
* @return \Drupal\Core\StringTranslation\TranslatableMarkup|null
* The validation error message, if any.
*/
public function validate(DomainAliasInterface $alias);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DomainAliasValidatorInterface:: |
public | function | Validates the rules for a domain alias. | 1 |