protected TableSortExtender::order()
Determine the current sort criterion.
Return value
An associative array describing the criterion, containing the keys:
- "name": The localized title of the table column.
- "sql": The name of the database field to sort on.
See also
File
- core/lib/Drupal/Core/Database/Query/TableSortExtender.php, line 96
Class
- TableSortExtender
- Query extender class for tablesort queries.
Namespace
Drupal\Core\Database\Query
Code
protected function order() { return tablesort_get_order($this->header); }
Please login to continue.