function _filter_list_cmp

7.x filter.module _filter_list_cmp($a, $b)
6.x filter.module _filter_list_cmp($a, $b)

Sorts an array of filters by filter name.

Callback for uasort() within filter_get_filters().

1 string reference to '_filter_list_cmp'
filter_get_filters in drupal-7.x/modules/filter/filter.module
Returns a list of all filters provided by modules.

File

drupal-7.x/modules/filter/filter.module, line 625
Framework for handling the filtering of content.

Code

function _filter_list_cmp($a, $b) {
  return strcmp($a['title'], $b['title']);
}