function better_formats_text_format_sort in Better Formats 7
Same name and namespace in other branches
- 8 better_formats.module \better_formats_text_format_sort()
Sort text formats by weight.
1 string reference to 'better_formats_text_format_sort'
- better_formats_filter_process_format in ./
better_formats.module - Process callback for form elements that have a text format selector attached.
File
- ./
better_formats.module, line 213 - Enhances Drupal's core text format settings.
Code
function better_formats_text_format_sort($a, $b) {
return $a['weight'] > $b['weight'];
}