You are here

public function DomainRegistrationPatternInterface::getPatterns in Restrict Domain Registration 8

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 value

array List of domain patterns.

1 method overrides DomainRegistrationPatternInterface::getPatterns()
DomainRegistrationPattern::getPatterns in src/DomainRegistrationPattern.php
Returns an array of domain patterns based on the configuration.

File

src/DomainRegistrationPatternInterface.php, line 19

Class

DomainRegistrationPatternInterface
Defines an interface for the domain registration service.

Namespace

Drupal\domain_registration

Code

public function getPatterns();