_filter_list_cmp

Versions
4.6 – 7
_filter_list_cmp($a, $b)

Helper function for sorting the filter list by filter name.

Code

modules/filter/filter.module, line 682

<?php
function _filter_list_cmp($a, $b) {
  return strcmp($a->name, $b->name);
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.