You are here

public function ExportPluginManager::getExportOption in Search API Synonym 8

Get single export option.

Parameters

string $key: Option key

Return value

string Option value

3 calls to ExportPluginManager::getExportOption()
ExportPluginManager::executeExport in src/Export/ExportPluginManager.php
Execute the synonym export.
ExportPluginManager::getSynonymsData in src/Export/ExportPluginManager.php
Get synonyms matching the export options.
ExportPluginManager::saveSynonymsFile in src/Export/ExportPluginManager.php
Save synonyms data to a file.

File

src/Export/ExportPluginManager.php, line 97

Class

ExportPluginManager
Base class for search api synonym export plugin managers.

Namespace

Drupal\search_api_synonym\Export

Code

public function getExportOption($key) {
  return isset($this->exportOptions[$key]) ? $this->exportOptions[$key] : '';
}