AccessAwareRouter::__call

public AccessAwareRouter::__call($name, $arguments)

File

core/lib/Drupal/Core/Routing/AccessAwareRouter.php, line 58

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);
}
doc_Drupal
2016-10-29 08:42:21
Comments
Leave a Comment

Please login to continue.