You are here

public function SearchApiAcquiaSearchService::getExtraInformation in Acquia Search for Search API 7.2

Returns additional, service-specific information about this server.

If a service class implements this method and supports the "search_api_service_extra" option, this method will be used to add extra information to the server's "View" tab.

In the default theme implementation this data will be 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 SearchApiSolrService::getExtraInformation

See also

supportsFeature()

File

includes/SearchApiAcquiaSearchService.php, line 85
Contains SearchApiAcquiaSearchService.

Class

SearchApiAcquiaSearchService
Search API service class for Acquia Search.

Code

public function getExtraInformation() {
  $extra = parent::getExtraInformation();
  $extra[] = array(
    'info' => search_api_acquia_get_search_status_message($this->server),
    'label' => t('Acquia Search status'),
  );
  return $extra;
}