function taxonomy_facets_sort_by_vid in Taxonomy Facets 7.3
2 string references to 'taxonomy_facets_sort_by_vid'
- MenuLeaf::buildLinkUrl in classes/
MenuLeaf.php - TaxoFacets::__construct in classes/
SelectedFilters.php
File
- ./
taxonomy_facets.module, line 371
Code
function taxonomy_facets_sort_by_vid($a, $b) {
if ($a->vid == $b->vid) {
return 0;
}
return $a->vid < $b->vid ? -1 : 1;
}