public function ServerController::pageTitle in Search API 8
Returns the page title for a server's "View" tab.
Parameters
\Drupal\search_api\ServerInterface $search_api_server: The server that is displayed.
Return value
string The page title.
1 string reference to 'ServerController::pageTitle'
File
- src/
Controller/ ServerController.php, line 95
Class
- ServerController
- Provides block routines for search server-specific routes.
Namespace
Drupal\search_api\ControllerCode
public function pageTitle(ServerInterface $search_api_server) {
return new FormattableMarkup('@title', [
'@title' => $search_api_server
->label(),
]);
}