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_aliasCode
public function sort($a, $b);