public function BackendSpecificInterface::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".
2 methods override BackendSpecificInterface::viewSettings()
- BackendPluginBase::viewSettings in src/
Backend/ BackendPluginBase.php - Returns additional, backend-specific information about this server.
- Server::viewSettings in src/
Entity/ Server.php - Returns additional, backend-specific information about this server.
File
- src/
Backend/ BackendSpecificInterface.php, line 32
Class
- BackendSpecificInterface
- Defines methods common to search servers and backend plugins.
Namespace
Drupal\search_api\BackendCode
public function viewSettings();