public function JsonRpcMethod::call in JSON-RPC 8
Same name and namespace in other branches
- 2.x src/Annotation/JsonRpcMethod.php \Drupal\jsonrpc\Annotation\JsonRpcMethod::call()
The class method to call.
Return value
string The PHP method on the RPC method object to call. Defaults to: execute.
Overrides MethodInterface::call
File
- src/
Annotation/ JsonRpcMethod.php, line 66
Class
- JsonRpcMethod
- Defines a JsonRpcParameterDefinition annotation object.
Namespace
Drupal\jsonrpc\AnnotationCode
public function call() {
if (!isset($this->call)) {
$this->call = 'execute';
}
return $this->call;
}