You are here

public static function Messages::getServerIdMessage in Acquia Search 3.x

Get text describing current server ID.

Parameters

string|int|null $server_id: Server ID.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup Translatable markup describing current server.

1 call to Messages::getServerIdMessage()
Messages::getSearchStatusMessage in src/Helper/Messages.php
Returns formatted message about Acquia Search connection details.

File

src/Helper/Messages.php, line 186

Class

Messages
Class Messages.

Namespace

Drupal\acquia_search\Helper

Code

public static function getServerIdMessage($server_id) : TranslatableMarkup {
  return t('search_api_solr.module server ID: @id', [
    '@id' => $server_id,
  ]);
}