You are here

public function SearchApiSortsField::getDefaultSort in Search API sorts 8

Returns field is the default sorts.

Return value

bool Field is the default sorts.

File

src/Entity/SearchApiSortsField.php, line 175

Class

SearchApiSortsField
Defines the Search api sorts index configuration entity.

Namespace

Drupal\search_api_sorts\Entity

Code

public function getDefaultSort() {
  return $this->default_sort;
}