You are here

public function SortsField::getOrder in Search API sorts 8

Returns the direction of sorting, asc or desc.

Return value

string The direction of the sorting.

File

src/SortsField.php, line 73

Class

SortsField
A value object for a sorts field.

Namespace

Drupal\search_api_sorts

Code

public function getOrder() {
  return $this->order;
}