Drupal custom pager and table header sortable without SQL query

Profile picture for user Andriy Dmytriv
Drupal custom pager and table sort

There are cases when an array of information should be separated and displayed by page without extending the query like this.

$query->extend('PagerDefault')->limit($pager).
$query->extend('TableSort')->orderByHeader($header).

There are many reasons for this. One way to use this code is when there...

Color border