You are here

public function SynonymInterface::getSynonymsFormatted in Search API Synonym 8

Gets the synonyms formatted.

Format the comma separated synonyms string with extra spaces.

Return value

string The synonyms to the word.

1 method overrides SynonymInterface::getSynonymsFormatted()
Synonym::getSynonymsFormatted in src/Entity/Synonym.php
Gets the synonyms formatted.

File

src/SynonymInterface.php, line 72

Class

SynonymInterface
Provides an interface for defining Synonym entities.

Namespace

Drupal\search_api_synonym

Code

public function getSynonymsFormatted();