You are here

public function DomainAliasStorageInterface::sort in Domain Access 8

Sorts aliases by wildcard to float exact matches to the top.

For use by loadByHostname().

1 method overrides DomainAliasStorageInterface::sort()
DomainAliasStorage::sort in domain_alias/src/DomainAliasStorage.php
Sorts aliases by wildcard to float exact matches to the top.

File

domain_alias/src/DomainAliasStorageInterface.php, line 66

Class

DomainAliasStorageInterface
Supplies storage methods for common domain_alias requests.

Namespace

Drupal\domain_alias

Code

public function sort($a, $b);