public function ArrayObject::uasort in Express 8
Sort entries with a user-defined function and maintain key association.
Parameters
mixed $function: A callable function.
File
- themes/
contrib/ bootstrap/ src/ Utility/ ArrayObject.php, line 375 - Contains \Drupal\bootstrap\Utility\ArrayObject.
Class
- ArrayObject
- Custom ArrayObject implementation.
Namespace
Drupal\bootstrap\UtilityCode
public function uasort($function) {
if (is_callable($function)) {
uasort($this->array, $function);
}
}