public function RouteBuilder::__construct in JSON-RPC 8
Same name and namespace in other branches
- 2.x modules/jsonrpc_core/src/Plugin/jsonrpc/Method/RouteBuilder.php \Drupal\jsonrpc_core\Plugin\jsonrpc\Method\RouteBuilder::__construct()
RouteBuilder constructor.
Overrides JsonRpcMethodBase::__construct
File
- modules/
jsonrpc_core/ src/ Plugin/ jsonrpc/ Method/ RouteBuilder.php, line 33
Class
- RouteBuilder
- RPC method to rebuild the routes.
Namespace
Drupal\jsonrpc_core\Plugin\jsonrpc\MethodCode
public function __construct(array $configuration, string $plugin_id, $plugin_definition, RouteBuilderInterface $route_builder) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->routeBuilder = $route_builder;
}