Problem/Motivation
We would like to deprecate all legacy code in the file core/includes/module.inc
. The function module_config_sort()
has only few usages in core and 8 usages in contrib http://grep.xnddx.ru/search?text=module_config_sort
Proposed resolution
Deprecate the function without replacement or provide \Drupal\Component\Utility\SortArray::sortByWeightAndKeys()
helper
Remaining tasks
review/commit
User interface changes
None
API changes
The function module_config_sort()
will be deprecated.