You are here

public function SorterInterface::__invoke in Views XML Backend 8

Sorts a views result.

Parameters

\Drupal\views\ResultRow[] &$result: The views result.

1 method overrides SorterInterface::__invoke()
StringSorter::__invoke in src/Sorter/StringSorter.php
Sorts a views result.

File

src/Sorter/SorterInterface.php, line 23
Contains \Drupal\views_xml_backend\Sorter\SorterInterface.

Class

SorterInterface
This is the interface used for sorters.

Namespace

Drupal\views_xml_backend\Sorter

Code

public function __invoke(array &$result);