You are here

public function SortsField::getFieldName in Search API sorts 8

Returns the field to sort on.

Return value

string The field of sorting.

File

src/SortsField.php, line 53

Class

SortsField
A value object for a sorts field.

Namespace

Drupal\search_api_sorts

Code

public function getFieldName() {
  return $this->field;
}