You are here

public function SolrConnectorInterface::viewSettings in Search API Solr 8

Same name and namespace in other branches
  1. 8.3 src/SolrConnectorInterface.php \Drupal\search_api_solr\SolrConnectorInterface::viewSettings()
  2. 8.2 src/SolrConnectorInterface.php \Drupal\search_api_solr\SolrConnectorInterface::viewSettings()
  3. 4.x src/SolrConnectorInterface.php \Drupal\search_api_solr\SolrConnectorInterface::viewSettings()

Returns additional, connector-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".
1 method overrides SolrConnectorInterface::viewSettings()
SolrConnectorPluginBase::viewSettings in src/SolrConnector/SolrConnectorPluginBase.php
Returns additional, connector-specific information about this server.

File

src/SolrConnectorInterface.php, line 386

Class

SolrConnectorInterface

Namespace

Drupal\search_api_solr

Code

public function viewSettings();