You are here

DomainRegistrationPatternInterface.php in Restrict Domain Registration 8

File

src/DomainRegistrationPatternInterface.php
View source
<?php

namespace Drupal\domain_registration;


/**
 * Defines an interface for the domain registration service.
 */
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();

}

Interfaces

Namesort descending Description
DomainRegistrationPatternInterface Defines an interface for the domain registration service.