You are here

public static function ParameterFactoryInterface::schema in JSON-RPC 2.x

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

An array representing the JSON Schema for acceptable input to the factory.

Parameters

\Drupal\jsonrpc\ParameterDefinitionInterface $parameter_definition: A parameter definition for the method parameter being constructed.

Return value

array The JSON Schema.

3 methods override ParameterFactoryInterface::schema()
EntityParameterFactory::schema in src/ParameterFactory/EntityParameterFactory.php
An array representing the JSON Schema for acceptable input to the factory.
PaginationParameterFactory::schema in src/ParameterFactory/PaginationParameterFactory.php
An array representing the JSON Schema for acceptable input to the factory.
RawParameterFactory::schema in src/ParameterFactory/RawParameterFactory.php
An array representing the JSON Schema for acceptable input to the factory.

File

src/ParameterFactoryInterface.php, line 21

Class

ParameterFactoryInterface
Interface for all parameter factories.

Namespace

Drupal\jsonrpc

Code

public static function schema(ParameterDefinitionInterface $parameter_definition);