public function ServerClientController::serverClientsTitle in OAuth2 Server 8
Same name and namespace in other branches
- 2.0.x src/Controller/ServerClientController.php \Drupal\oauth2_server\Controller\ServerClientController::serverClientsTitle()
Returns the page title for an server's "Clients" tab.
Parameters
\Drupal\oauth2_server\ServerInterface $oauth2_server: The server that is displayed.
Return value
string The page title.
1 string reference to 'ServerClientController::serverClientsTitle'
File
- src/
Controller/ ServerClientController.php, line 40
Class
- ServerClientController
- Class Server Client Controller.
Namespace
Drupal\oauth2_server\ControllerCode
public function serverClientsTitle(ServerInterface $oauth2_server) {
return $this
->t('OAuth2 Server: %name clients', [
'%name' => $oauth2_server
->label(),
]);
}