You are here

public function SearchApiSortsField::getDefaultOrder in Search API sorts 8

Returns the default order of the sorts field.

Return value

string The default order of the sorts field.

File

src/Entity/SearchApiSortsField.php, line 215

Class

SearchApiSortsField
Defines the Search api sorts index configuration entity.

Namespace

Drupal\search_api_sorts\Entity

Code

public function getDefaultOrder() {
  return $this->default_order;
}