You are here

public function JSON::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/JSON.php, line 68

Class

JSON
Import of JSON files.

Namespace

Drupal\search_api_synonym\Plugin\search_api_synonym\import

Code

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