protected function 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\QueryCode
protected function init() { $ts = $this->order(); $ts['sort'] = $this->getSort(); $ts['query'] = $this->getQueryParameters(); return $ts; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Database!Query!TableSortExtender.php/function/TableSortExtender::init/8.1.x