You are here

public function Request::isViaRouter in RESTful 7.2

Is via router.

Return value

bool TRUE if the request was generated via the Drupal's menu router.

Overrides RequestInterface::isViaRouter

File

src/Http/Request.php, line 567
Contains \Drupal\restful\Http\Request

Class

Request
Deals with everything coming from the consumer.

Namespace

Drupal\restful\Http

Code

public function isViaRouter() {
  return $this->viaRouter;
}