You are here

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

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

Class

JsonRpcMethod
Defines a JsonRpcParameterDefinition annotation object.

Namespace

Drupal\jsonrpc\Annotation

Code

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