public function ServerClientController::serverClients in OAuth2 Server 8
Same name and namespace in other branches
- 2.0.x src/Controller/ServerClientController.php \Drupal\oauth2_server\Controller\ServerClientController::serverClients()
Return a list of clients for a OAuth2 server.
Parameters
\Drupal\oauth2_server\ServerInterface $oauth2_server: The server to display the clients of.
Return value
array The renderable array.
1 string reference to 'ServerClientController::serverClients'
File
- src/
Controller/ ServerClientController.php, line 25
Class
- ServerClientController
- Class Server Client Controller.
Namespace
Drupal\oauth2_server\ControllerCode
public function serverClients(ServerInterface $oauth2_server) {
return $this
->entityTypeManager()
->getListBuilder('oauth2_server_client')
->render($oauth2_server);
}