You are here

public function HandlerInterface::availableMethods in JSON-RPC 2.x

Same name and namespace in other branches
  1. 8 src/HandlerInterface.php \Drupal\jsonrpc\HandlerInterface::availableMethods()

The methods which are available to the given account.

Parameters

\Drupal\Core\Session\AccountInterface $account: (optional). The account for which to get available methods. Defaults to the current user.

Return value

\Drupal\jsonrpc\MethodInterface[] The methods.

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

File

src/HandlerInterface.php, line 53

Class

HandlerInterface
Interface for the handler.

Namespace

Drupal\jsonrpc

Code

public function availableMethods(AccountInterface $account = NULL);