You are here

public function BackendPluginBase::viewSettings in Search API 8

Returns additional, backend-specific information about this server.

This information will be then added to the server's "View" tab in some way. In the default theme implementation the data is output in a table with two columns along with other, generic information about the server.

Return value

array An array of additional server information, with each piece of information being an associative array with the following keys:

  • label: The human-readable label for this data.
  • info: The information, as HTML.
  • status: (optional) The status associated with this information. One of "info", "ok", "warning" or "error". Defaults to "info".

Overrides BackendSpecificInterface::viewSettings

2 methods override BackendPluginBase::viewSettings()
Database::viewSettings in modules/search_api_db/src/Plugin/search_api/backend/Database.php
Returns additional, backend-specific information about this server.
TestBackend::viewSettings in tests/search_api_test/src/Plugin/search_api/backend/TestBackend.php
Returns additional, backend-specific information about this server.

File

src/Backend/BackendPluginBase.php, line 177

Class

BackendPluginBase
Defines a base class for backend plugins.

Namespace

Drupal\search_api\Backend

Code

public function viewSettings() {
  return [];
}