You are here

function _domain_rid_sort in Domain Access 5

Same name and namespace in other branches
  1. 6.2 domain.module \_domain_rid_sort()
  2. 7.2 domain.module \_domain_rid_sort()

Helper sort function

File

./domain.module, line 535
Core module functions for the Domain Access suite.

Code

function _domain_rid_sort($a, $b) {
  return $a['domain_id'] > $b['domain_id'] ? -1 : 1;
}