You are here

public function SearchApiSortsField::getWeight in Search API sorts 8

Returns the weight of the sorting field.

Return value

int The weight of the sorting field.

File

src/Entity/SearchApiSortsField.php, line 235

Class

SearchApiSortsField
Defines the Search api sorts index configuration entity.

Namespace

Drupal\search_api_sorts\Entity

Code

public function getWeight() {
  return $this->weight;
}