You are here

function Sql::set_header in Views (for Drupal 7) 8.3

Set the table header; used for click-sorting because it's needed info to modify the ORDER BY clause.

File

lib/Drupal/views/Plugin/views/query/Sql.php, line 182
Definition of Drupal\views\Plugin\views\query\Sql.

Class

Sql
@todo.

Namespace

Drupal\views\Plugin\views\query

Code

function set_header($header) {
  $this->header = $header;
}