You are here

abstract public static function JsonRpcMethodBase::outputSchema in JSON-RPC 8

Same name and namespace in other branches
  1. 2.x src/Plugin/JsonRpcMethodBase.php \Drupal\jsonrpc\Plugin\JsonRpcMethodBase::outputSchema()

Provides the schema that describes the results of the RPC method.

Use NULL if the method does not provide results (is a notification).

Return value

null|array The JSON Schema or a null in case of a notification.

6 methods override JsonRpcMethodBase::outputSchema()
AddPermissionToRole::outputSchema in modules/jsonrpc_core/src/Plugin/jsonrpc/Method/AddPermissionToRole.php
Provides the schema that describes the results of the RPC method.
Cache::outputSchema in modules/jsonrpc_core/src/Plugin/jsonrpc/Method/Cache.php
Provides the schema that describes the results of the RPC method.
ListPermissions::outputSchema in modules/jsonrpc_core/src/Plugin/jsonrpc/Method/ListPermissions.php
Provides the schema that describes the results of the RPC method.
MaintenanceModeEnabled::outputSchema in modules/jsonrpc_core/src/Plugin/jsonrpc/Method/MaintenanceModeEnabled.php
Provides the schema that describes the results of the RPC method.
Plugins::outputSchema in modules/jsonrpc_core/src/Plugin/jsonrpc/Method/Plugins.php
Provides the schema that describes the results of the RPC method.

... See full list

File

src/Plugin/JsonRpcMethodBase.php, line 67

Class

JsonRpcMethodBase
Base implementation for JSON RPC methods.

Namespace

Drupal\jsonrpc\Plugin

Code

public static abstract function outputSchema();