public function ImportPluginBase::parseFile in Search API Synonym 8
Parse the import file.
Parameters
\Drupal\file\Entity\File $file: The temporary file object.
array $settings: Array with plugin settings.
Return value
string The parsed file content.
Overrides ImportPluginInterface::parseFile
3 methods override ImportPluginBase::parseFile()
- CSV::parseFile in src/
Plugin/ search_api_synonym/ import/ CSV.php - Parse the import file.
- JSON::parseFile in src/
Plugin/ search_api_synonym/ import/ JSON.php - Parse the import file.
- Solr::parseFile in src/
Plugin/ search_api_synonym/ import/ Solr.php - Parse the import file.
File
- src/
Import/ ImportPluginBase.php, line 46
Class
- ImportPluginBase
- Base class for plugins handling import of search api synonyms.
Namespace
Drupal\search_api_synonym\ImportCode
public function parseFile(File $file, array $settings = []) {
return [];
}