You are here

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

Returns formatted message about read-only mode.

Return value

string Formatted message about read-only mode.

3 calls to Messages::getReadOnlyModeWarning()
acquia_search_requirements in ./acquia_search.install
Implements hook_requirements().
Messages::showReadOnlyModeWarning in src/Helper/Messages.php
Generates DSM with read-only message warning.
SearchApiSolrAcquiaConnector::buildConfigurationForm in src/Plugin/SolrConnector/SearchApiSolrAcquiaConnector.php
Form constructor.

File

src/Helper/Messages.php, line 84

Class

Messages
Class Messages.

Namespace

Drupal\acquia_search\Helper

Code

public static function getReadOnlyModeWarning() : string {
  return (string) t('The read-only mode is set in the configuration of the Acquia Search Solr module.');
}