Updated: Comment #0

Problem/Motivation

The following functions are just wrappers for methods of SortArray, are already deprecated and are hardly used in core.

element_sort()
element_sort_by_title()
drupal_sort_title()

Proposed resolution

These functions should all be removed.

Remaining tasks

Write patch
Review patch

User interface changes

None

API changes

Three deprecated functions removed

Comments

ianthomas_uk’s picture

I have expanded https://drupal.org/node/2181331 to cover these changes (it should already have been done, so there's no need for this to be committed first).

ianthomas_uk’s picture

Status: Active » Needs review
ianthomas_uk’s picture

longwave’s picture

Status: Needs review » Reviewed & tested by the community

Applies with small offset, no instances of "element_sort" or "drupal_sort_title" found afterwards => RTBC

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed to 8.x. Thanks!

  • Commit dc15bf2 on 8.x by webchick:
    Issue #2216565 by ianthomas_uk: Remove wrappers for SortArray.
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.