public function SearchApiSolrAcquiaConnector::viewSettings in Acquia Connector 8
File
- acquia_search/
src/ Plugin/ SolrConnector/ SearchApiSolrAcquiaConnector.php, line 262
Class
- SearchApiSolrAcquiaConnector
- Acquia Search Plugin for Search API Solr.
Namespace
Drupal\acquia_search\Plugin\SolrConnectorCode
public function viewSettings() {
$uri = Url::fromUri('https://docs.acquia.com/acquia-search/', [
'absolute' => TRUE,
]);
$link = Link::fromTextAndUrl($this
->t('Acquia Search'), $uri);
$message = $this
->t('Search is provided by @acquia_search.', [
'@acquia_search' => $link
->toString(),
]);
$this
->messenger()
->addStatus($message);
return parent::viewSettings();
}