You are here

public function AccessAwareRouter::__call in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Routing/AccessAwareRouter.php \Drupal\Core\Routing\AccessAwareRouter::__call()

File

core/lib/Drupal/Core/Routing/AccessAwareRouter.php, line 62
Contains \Drupal\Core\Routing\AccessAwareRouter.

Class

AccessAwareRouter
A router class for Drupal with access check and upcasting.

Namespace

Drupal\Core\Routing

Code

public function __call($name, $arguments) {

  // Ensure to call every other function to the chained router.
  // @todo Sadly does the ChainRouter not implement an interface in CMF.
  return call_user_func_array([
    $this->chainRouter,
    $name,
  ], $arguments);
}