public function Request::setViaRouter in RESTful 7.2
Marks the request as being via Drupal's menu router.
Parameters
bool $via_router: The flag to set.
Overrides RequestInterface::setViaRouter
File
- src/
Http/ Request.php, line 574 - Contains \Drupal\restful\Http\Request
Class
- Request
- Deals with everything coming from the consumer.
Namespace
Drupal\restful\HttpCode
public function setViaRouter($via_router) {
$this->viaRouter = $via_router;
}