You are here

public function SynonymInterface::setWord in Search API Synonym 8

Sets the Synonym word.

Parameters

string $word: The Synonym word.

Return value

\Drupal\search_api_synonym\SynonymInterface The called Synonym entity.

1 method overrides SynonymInterface::setWord()
Synonym::setWord in src/Entity/Synonym.php
Sets the Synonym word.

File

src/SynonymInterface.php, line 54

Class

SynonymInterface
Provides an interface for defining Synonym entities.

Namespace

Drupal\search_api_synonym

Code

public function setWord($word);