public function JsonRpcMethod::getUsage in JSON-RPC 8
Same name and namespace in other branches
- 2.x src/Annotation/JsonRpcMethod.php \Drupal\jsonrpc\Annotation\JsonRpcMethod::getUsage()
How to use this method.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The usage text for the method.
Overrides MethodInterface::getUsage
File
- src/
Annotation/ JsonRpcMethod.php, line 76
Class
- JsonRpcMethod
- Defines a JsonRpcParameterDefinition annotation object.
Namespace
Drupal\jsonrpc\AnnotationCode
public function getUsage() {
$this->usage;
}