You are here

public function ExportPluginInterface::getFormattedSynonyms in Search API Synonym 8

Get synonyms in the export format. *

Parameters

array $synonyms: An array containing synonym objects.

Return value

string The formatted synonyms as a string ready to be saved to an export file.

1 method overrides ExportPluginInterface::getFormattedSynonyms()
Solr::getFormattedSynonyms in src/Plugin/search_api_synonym/export/Solr.php
Get synonyms in the export format. *

File

src/Export/ExportPluginInterface.php, line 25

Class

ExportPluginInterface
Provides an interface for search api synonym export plugins.

Namespace

Drupal\search_api_synonym\Export

Code

public function getFormattedSynonyms(array $synonyms);