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

1
2
3
4
5
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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.