protected function JsonRpcMethodBase::methodDefinition in JSON-RPC 8
Same name and namespace in other branches
- 2.x 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\PluginCode
protected function methodDefinition() {
return $this
->getPluginDefinition();
}