$header =
[ 'id' =>
['data' => 'Id', 'specifier' => 'id'
],
'type' =>
['data' => 'Type', 'specifier' => 'type'
],
];
$this->queryResults =
array_values($this->storage
->
getQuery() ->
accessCheck(FALSE
) ->
tableSort($header) ->
execute());
$this->
assertBundleOrder('asc'
);
$request->query->
add([ 'sort' => 'desc',
]);
\Drupal::
getContainer()->
get('request_stack'
)->
push($request);
$header =
[ 'id' =>
['data' => 'Id', 'specifier' => 'id'
],
'type' =>
['data' => 'Type', 'specifier' => 'type'
],
];
$this->queryResults =
array_values($this->storage