You are here

public function JsonRpcParameterDefinition::getDescription in JSON-RPC 2.x

Same name and namespace in other branches
  1. 8 src/Annotation/JsonRpcParameterDefinition.php \Drupal\jsonrpc\Annotation\JsonRpcParameterDefinition::getDescription()

The description of the parameter for the method.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The description.

Overrides ParameterDefinitionInterface::getDescription

File

src/Annotation/JsonRpcParameterDefinition.php, line 64

Class

JsonRpcParameterDefinition
Defines a JsonRpcParameterDefinition annotation object.

Namespace

Drupal\jsonrpc\Annotation

Code

public function getDescription() {
  return $this->description;
}