You are here

public function SearchApiSortsField::setLabel in Search API sorts 8

Sets the label of the sorts field.

Parameters

string $label: The label of the sorts field.

File

src/Entity/SearchApiSortsField.php, line 205

Class

SearchApiSortsField
Defines the Search api sorts index configuration entity.

Namespace

Drupal\search_api_sorts\Entity

Code

public function setLabel($label) {
  $this->label = $label;
}