You are here

interface DomainRegistrationPatternInterface in Restrict Domain Registration 8

Defines an interface for the domain registration service.

Hierarchy

Expanded class hierarchy of DomainRegistrationPatternInterface

All classes that implement DomainRegistrationPatternInterface

File

src/DomainRegistrationPatternInterface.php, line 8

Namespace

Drupal\domain_registration
View source
interface DomainRegistrationPatternInterface {

  /**
   * Returns an array of domain patterns based on the configuration.
   *
   * This is done through a service so other modules can decorate it and provide
   * alternative sources of domains.
   *
   * @return array
   *   List of domain patterns.
   */
  public function getPatterns();

}

Members

Namesort descending Modifiers Type Description Overrides
DomainRegistrationPatternInterface::getPatterns public function Returns an array of domain patterns based on the configuration. 1