You are here

public function Handler::supportedMethods in JSON-RPC 2.x

Same name and namespace in other branches
  1. 8 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 76

Class

Handler
Manages all the JSON-RPC business logic.

Namespace

Drupal\jsonrpc

Code

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