Voting starts in March for the Drupal Association Board election.
> Sorts a structured array by 'weight' key (no # prefix).
> Function used by uasort to sort structured arrays by weight, without the property weight prefix.
In both cases, what's the prefix thing about?
This function doc should say, in approximate order:
- this is a callback for uasort() (which I presume needs the () so it can be rendered as a link to PHP docs)
- it sorts arrays where each item (itself an array) has a ['weight'] property
- if an element doesn't have that property, its weight it taken as being 0
Also, now that API has string references, I don't think the D8 docs need to explicitly list the functions that make use of this.
PASSED: [[SimpleTest]]: [MySQL] 39,342 pass(es). View
PASSED: [[SimpleTest]]: [MySQL] 37,245 pass(es). View
PASSED: [[SimpleTest]]: [MySQL] 37,214 pass(es). View
PASSED: [[SimpleTest]]: [MySQL] 37,103 pass(es). View