TableSortExtender::getSort

protected TableSortExtender::getSort()

Determine the current sort direction.

Return value

The current sort direction ("asc" or "desc").

See also

tablesort_get_sort()

File

core/lib/Drupal/Core/Database/Query/TableSortExtender.php, line 69

Class

TableSortExtender
Query extender class for tablesort queries.

Namespace

Drupal\Core\Database\Query

Code

protected function getSort() {
  return tablesort_get_sort($this->header);
}
doc_Drupal
2016-10-29 09:46:13
Comments
Leave a Comment

Please login to continue.