You are here

interface DomainAliasValidatorInterface in Domain Access 8

Supplies validator methods for common domain requests.

Hierarchy

Expanded class hierarchy of DomainAliasValidatorInterface

All classes that implement DomainAliasValidatorInterface

File

domain_alias/src/DomainAliasValidatorInterface.php, line 8

Namespace

Drupal\domain_alias
View 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

Namesort descending Modifiers Type Description Overrides
DomainAliasValidatorInterface::validate public function Validates the rules for a domain alias. 1