You are here

public function JsonRpcMethod::getUsage in JSON-RPC 2.x

Same name and namespace in other branches
  1. 8 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 86

Class

JsonRpcMethod
Defines a JsonRpcParameterDefinition annotation object.

Namespace

Drupal\jsonrpc\Annotation

Code

public function getUsage() {
  return $this->usage;
}