You are here

protected function JsonRpcMethodBase::methodDefinition in JSON-RPC 2.x

Same name and namespace in other branches
  1. 8 src/Plugin/JsonRpcMethodBase.php \Drupal\jsonrpc\Plugin\JsonRpcMethodBase::methodDefinition()

The RPC method definition for the current invocation.

Return value

\Drupal\jsonrpc\MethodInterface The method definitionm.

File

src/Plugin/JsonRpcMethodBase.php, line 55

Class

JsonRpcMethodBase
Base implementation for JSON RPC methods.

Namespace

Drupal\jsonrpc\Plugin

Code

protected function methodDefinition() {
  return $this
    ->getPluginDefinition();
}