You are here

Classes, traits, and interfaces in JSON-RPC 2.x

Primary tabs

Namesort descending Type Namespace Location Description Direct uses Use statements Strings
AddPermissionToRole class Drupal\jsonrpc_core\Plugin\jsonrpc\Method modules/jsonrpc_core/src/Plugin/jsonrpc/Method/AddPermissionToRole.php A method to add permissions to a role.
AnnotationNormalizer class Drupal\jsonrpc_discovery\Normalizer modules/jsonrpc_discovery/src/Normalizer/AnnotationNormalizer.php The normalizer class for annotated objects. 1 2
Cache class Drupal\jsonrpc_core\Plugin\jsonrpc\Method modules/jsonrpc_core/src/Plugin/jsonrpc/Method/Cache.php Class CacheService.
DiscoveryController class Drupal\jsonrpc_discovery\Controller modules/jsonrpc_discovery/src/Controller/DiscoveryController.php The controller that responds with the discovery information.
EntityParameterFactory class Drupal\jsonrpc\ParameterFactory src/ParameterFactory/EntityParameterFactory.php A factory to create loaded entities from entity type & UUID user input.
Error class Drupal\jsonrpc\Object src/Object/Error.php Error class to help implement JSON RPC's spec for errors. 6
ExecutableWithParamsInterface interface Drupal\jsonrpc src/ExecutableWithParamsInterface.php Add to methods that can be executed with params. 1 1
FirstMethod class Drupal\jsonrpc_test\Plugin\jsonrpc\Method tests/modules/jsonrpc_test/src/Plugin/jsonrpc/Method/FirstMethod.php First test method.
Handler class Drupal\jsonrpc src/Handler.php Manages all the JSON-RPC business logic. 2 2
HandlerInterface interface Drupal\jsonrpc src/HandlerInterface.php Interface for the handler. 1 4
HttpController class Drupal\jsonrpc\Controller src/Controller/HttpController.php The main front controller.
JsonRpcException class Drupal\jsonrpc\Exception src/Exception/JsonRpcException.php Custom exception class for the module. 7
JsonRpcMethod class Drupal\jsonrpc\Annotation src/Annotation/JsonRpcMethod.php Defines a JsonRpcParameterDefinition annotation object. 2
JsonRpcMethodBase abstract class Drupal\jsonrpc\Plugin src/Plugin/JsonRpcMethodBase.php Base implementation for JSON RPC methods. 8 8
JsonRpcMethodManager class Drupal\jsonrpc\Plugin src/Plugin/JsonRpcMethodManager.php Provides the JsonRpcMethod plugin manager. 2
JsonRpcOptionsRequestSubscriber class Drupal\jsonrpc\Routing src/Routing/JsonRpcOptionsRequestSubscriber.php Handles options requests. 2
JsonRpcParameterDefinition class Drupal\jsonrpc\Annotation src/Annotation/JsonRpcParameterDefinition.php Defines a JsonRpcParameterDefinition annotation object. 1
JsonRpcTestBase abstract class Drupal\Tests\jsonrpc\Functional tests/src/Functional/JsonRpcTestBase.php Class JsonRpcTestBase. 3 2
ListPermissions class Drupal\jsonrpc_core\Plugin\jsonrpc\Method modules/jsonrpc_core/src/Plugin/jsonrpc/Method/ListPermissions.php RPC method to list all the permissions.
MaintenanceModeEnabled class Drupal\jsonrpc_core\Plugin\jsonrpc\Method modules/jsonrpc_core/src/Plugin/jsonrpc/Method/MaintenanceModeEnabled.php RPC method to enable or disable maintenance mode.
MaintenanceModeEnabledTest class Drupal\Tests\jsonrpc_core\Functional modules/jsonrpc_core/tests/src/Functional/MaintenanceModeEnabledTest.php Test turning the maintenance mode on or off using JSON RPC.
MethodInterface interface Drupal\jsonrpc src/MethodInterface.php Interface for the method plugins. 1 5
PaginationParameterFactory class Drupal\jsonrpc\ParameterFactory src/ParameterFactory/PaginationParameterFactory.php A parameter factory to handle paginated responses.
ParameterBag class Drupal\jsonrpc\Object src/Object/ParameterBag.php Value class to hold multiple parameters. 12
ParameterDefinitionInterface interface Drupal\jsonrpc src/ParameterDefinitionInterface.php Interface to implement a parameter definition. 1 6
ParameterFactoryBase abstract class Drupal\jsonrpc\ParameterFactory src/ParameterFactory/ParameterFactoryBase.php Base class for parameter factories. 3
ParameterFactoryInterface interface Drupal\jsonrpc src/ParameterFactoryInterface.php Interface for all parameter factories. 1 2
Plugins class Drupal\jsonrpc_core\Plugin\jsonrpc\Method modules/jsonrpc_core/src/Plugin/jsonrpc/Method/Plugins.php Lists the plugin definitions of a given type.
PluginsTest class Drupal\Tests\jsonrpc_core\Functional modules/jsonrpc_core/tests/src/Functional/PluginsTest.php Test turning the maintenance mode on or off using JSON RPC.
RawParameterFactory class Drupal\jsonrpc\ParameterFactory src/ParameterFactory/RawParameterFactory.php Class RawParameterFactory just returns the raw parameter. 1
Request class Drupal\jsonrpc\Object src/Object/Request.php Request object to help implement JSON RPC's spec for request objects. 3
Response class Drupal\jsonrpc\Object src/Object/Response.php Response object to help implement JSON RPC's spec for response objects. 6
ResponseHeadersTest class Drupal\Tests\jsonrpc\Functional tests/src/Functional/ResponseHeadersTest.php Test turning the maintenance mode on or off using JSON RPC.
RouteBuilder class Drupal\jsonrpc_core\Plugin\jsonrpc\Method modules/jsonrpc_core/src/Plugin/jsonrpc/Method/RouteBuilder.php RPC method to rebuild the routes.
RpcRequestFactory class Drupal\jsonrpc\Shaper src/Shaper/RpcRequestFactory.php Creates RPC Request objects. 1
RpcResponseFactory class Drupal\jsonrpc\Shaper src/Shaper/RpcResponseFactory.php Creates RPC Response objects. 1
SecondMethod class Drupal\jsonrpc_test\Plugin\jsonrpc\Method tests/modules/jsonrpc_test/src/Plugin/jsonrpc/Method/SecondMethod.php Second test method.
ThirdMethod class Drupal\jsonrpc_test\Plugin\jsonrpc\Method tests/modules/jsonrpc_test/src/Plugin/jsonrpc/Method/ThirdMethod.php Third test method.
UserPermissionsBase abstract class Drupal\jsonrpc_core\Plugin\jsonrpc\Method modules/jsonrpc_core/src/Plugin/jsonrpc/Method/UserPermissionsBase.php Base method for methods that ned access to the user.permissions service. 2

Other projects