You are here

abstract public static function JsonRpcMethodBase::outputSchema in JSON-RPC 2.x

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

9 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.
FirstMethod::outputSchema in tests/modules/jsonrpc_test/src/Plugin/jsonrpc/Method/FirstMethod.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.

... 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();