You are here

public function Handler::supportedMethods in JSON-RPC 8

Same name and namespace in other branches
  1. 2.x src/Handler.php \Drupal\jsonrpc\Handler::supportedMethods()

The methods supported by the handler.

Return value

\Drupal\jsonrpc\MethodInterface[] The methods.

Overrides HandlerInterface::supportedMethods

1 call to Handler::supportedMethods()
Handler::availableMethods in src/Handler.php
The methods which are available to the given account.

File

src/Handler.php, line 63

Class

Handler
Manages all the JSON-RPC business logic.

Namespace

Drupal\jsonrpc

Code

public function supportedMethods() {
  return $this->methodManager
    ->getDefinitions();
}