You are here

public function SynonymInterface::setType in Search API Synonym 8

Sets the Synonym type.

Parameters

string $type: The Synonym type.

Return value

\Drupal\search_api_synonym\SynonymInterface The called Synonym entity.

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

File

src/SynonymInterface.php, line 35

Class

SynonymInterface
Provides an interface for defining Synonym entities.

Namespace

Drupal\search_api_synonym

Code

public function setType($type);