interface DomainRegistrationPatternInterface in Restrict Domain Registration 8
Defines an interface for the domain registration service.
Hierarchy
- interface \Drupal\domain_registration\DomainRegistrationPatternInterface
Expanded class hierarchy of DomainRegistrationPatternInterface
All classes that implement DomainRegistrationPatternInterface
File
- src/
DomainRegistrationPatternInterface.php, line 8
Namespace
Drupal\domain_registrationView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DomainRegistrationPatternInterface:: |
public | function | Returns an array of domain patterns based on the configuration. | 1 |