You are here

public function ParameterDefinitionInterface::isRequired in JSON-RPC 2.x

Same name and namespace in other branches
  1. 8 src/ParameterDefinitionInterface.php \Drupal\jsonrpc\ParameterDefinitionInterface::isRequired()

Whether the parameter is required.

Return value

bool True if this is a required parameter.

1 method overrides ParameterDefinitionInterface::isRequired()
JsonRpcParameterDefinition::isRequired in src/Annotation/JsonRpcParameterDefinition.php
Whether the parameter is required.

File

src/ParameterDefinitionInterface.php, line 32

Class

ParameterDefinitionInterface
Interface to implement a parameter definition.

Namespace

Drupal\jsonrpc

Code

public function isRequired();