You are here

public function Transliteration::setLangcode in Search API 8

Sets the langcode.

Parameters

string $langcode: The new langcode.

Return value

$this

File

src/Plugin/search_api/processor/Transliteration.php, line 128

Class

Transliteration
Makes searches insensitive to accents and other non-ASCII characters.

Namespace

Drupal\search_api\Plugin\search_api\processor

Code

public function setLangcode($langcode) {
  $this->langcode = $langcode;
  return $this;
}