You are here

public function Solr::allowedExtensions in Search API Synonym 8

Get a list of allowed file extensions.

Return value

array List of allowed extensions.

Overrides ImportPluginBase::allowedExtensions

File

src/Plugin/search_api_synonym/import/Solr.php, line 87

Class

Solr
Import of Solr synonyms.txt files.

Namespace

Drupal\search_api_synonym\Plugin\search_api_synonym\import

Code

public function allowedExtensions() {
  return [
    'txt',
  ];
}