You are here

public function JsonRpcMethod::id in JSON-RPC 8

Same name and namespace in other branches
  1. 2.x src/Annotation/JsonRpcMethod.php \Drupal\jsonrpc\Annotation\JsonRpcMethod::id()

Gets the unique identifier of the plugin.

Return value

string The unique identifier of the plugin.

Overrides PluginDefinitionInterface::id

File

src/Annotation/JsonRpcMethod.php, line 59

Class

JsonRpcMethod
Defines a JsonRpcParameterDefinition annotation object.

Namespace

Drupal\jsonrpc\Annotation

Code

public function id() {
  return $this
    ->getId();
}