function feeds_importer_name_sort in Feeds 7.2
Sorts importers by name.
Callback for uasort().
Parameters
FeedsImporter $a: The first FeedsImporter for comparison.
FeedsImporter $b: The second FeedsImporter for comparison.
Return value
int The comparison result for uasort().
Related topics
1 string reference to 'feeds_importer_name_sort'
- feeds_importer_load_all in ./
feeds.module - Loads all importers.
File
- ./
feeds.module, line 1082 - Feeds - basic API functions and hook implementations.
Code
function feeds_importer_name_sort(FeedsImporter $a, FeedsImporter $b) {
return strcasecmp($a->config['name'], $b->config['name']);
}