function _filter_list_cmp

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/modules/filter/filter.module
Returns a list of all filters provided by modules.

File

drupal/modules/filter/filter.module, line 632
Framework for handling the filtering of content.

Code

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