public function ExecutableWithParamsInterface::execute in JSON-RPC 8
Same name and namespace in other branches
- 2.x src/ExecutableWithParamsInterface.php \Drupal\jsonrpc\ExecutableWithParamsInterface::execute()
Executes the action with the parameters passed in.
Parameters
\Drupal\jsonrpc\Object\ParameterBag $params: The parameters.
Return value
mixed The result of the execution.
6 methods override ExecutableWithParamsInterface::execute()
- AddPermissionToRole::execute in modules/
jsonrpc_core/ src/ Plugin/ jsonrpc/ Method/ AddPermissionToRole.php - Executes the action with the parameters passed in.
- Cache::execute in modules/
jsonrpc_core/ src/ Plugin/ jsonrpc/ Method/ Cache.php - Executes the action with the parameters passed in.
- ListPermissions::execute in modules/
jsonrpc_core/ src/ Plugin/ jsonrpc/ Method/ ListPermissions.php - Executes the action with the parameters passed in.
- MaintenanceModeEnabled::execute in modules/
jsonrpc_core/ src/ Plugin/ jsonrpc/ Method/ MaintenanceModeEnabled.php - Executes the action with the parameters passed in.
- Plugins::execute in modules/
jsonrpc_core/ src/ Plugin/ jsonrpc/ Method/ Plugins.php
File
- src/
ExecutableWithParamsInterface.php, line 21
Class
- ExecutableWithParamsInterface
- Add to methods that can be executed with params.
Namespace
Drupal\jsonrpcCode
public function execute(ParameterBag $params);