You are here

public function BackendPluginBase::getDiscouragedProcessors in Search API 8

Limits the processors displayed in the UI for indexes on this server.

Returns an array of processor IDs that should not be enabled for this backend. It is a bad idea, for example, to have the "Tokenizer" processor enabled when using a Solr backend.

Return value

string[] A list of processor IDs.

Overrides BackendSpecificInterface::getDiscouragedProcessors

1 method overrides BackendPluginBase::getDiscouragedProcessors()
TestBackend::getDiscouragedProcessors in tests/search_api_test/src/Plugin/search_api/backend/TestBackend.php
Limits the processors displayed in the UI for indexes on this server.

File

src/Backend/BackendPluginBase.php, line 266

Class

BackendPluginBase
Defines a base class for backend plugins.

Namespace

Drupal\search_api\Backend

Code

public function getDiscouragedProcessors() {
  return [];
}