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\EntityCode
public function getWeight() {
return $this->weight;
}