You are here

function _domain_rid_sort in Domain Access 7.2

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

Helper sort function

File

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

Code

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