TableSortExtender::init

protected TableSortExtender::init()

Initialize the table sort context.

File

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

Class

TableSortExtender
Query extender class for tablesort queries.

Namespace

Drupal\Core\Database\Query

Code

protected function init() {
  $ts = $this->order();
  $ts['sort'] = $this->getSort();
  $ts['query'] = $this->getQueryParameters();
  return $ts;
}
doc_Drupal
2016-10-29 09:46:13
Comments
Leave a Comment

Please login to continue.