You are here

public function RequestInterface::setViaRouter in RESTful 7.2

Marks the request as being via Drupal's menu router.

Parameters

bool $via_router: The flag to set.

1 method overrides RequestInterface::setViaRouter()
Request::setViaRouter in src/Http/Request.php
Marks the request as being via Drupal's menu router.

File

src/Http/RequestInterface.php, line 269
Contains \Drupal\restful\Http\RequestInterface.

Class

RequestInterface

Namespace

Drupal\restful\Http

Code

public function setViaRouter($via_router);