public static function MaintenanceModeEnabled::outputSchema in JSON-RPC 2.x
Same name and namespace in other branches
- 8 modules/jsonrpc_core/src/Plugin/jsonrpc/Method/MaintenanceModeEnabled.php \Drupal\jsonrpc_core\Plugin\jsonrpc\Method\MaintenanceModeEnabled::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.
Overrides JsonRpcMethodBase::outputSchema
File
- modules/
jsonrpc_core/ src/ Plugin/ jsonrpc/ Method/ MaintenanceModeEnabled.php, line 86
Class
- MaintenanceModeEnabled
- RPC method to enable or disable maintenance mode.
Namespace
Drupal\jsonrpc_core\Plugin\jsonrpc\MethodCode
public static function outputSchema() {
return [
'type' => 'string',
];
}