You are here

public function LoginDestinationToolbarLinkBuilder::__call in Login Destination 8

Same name and namespace in other branches
  1. 8.2 src/LoginDestinationToolbarLinkBuilder.php \Drupal\login_destination\LoginDestinationToolbarLinkBuilder::__call()

Pass any undefined method calls onto the inner service.

Parameters

string $method: The method being called.

array $args: The arguments passed to the method.

Return value

mixed The inner services response.

File

src/LoginDestinationToolbarLinkBuilder.php, line 44

Class

LoginDestinationToolbarLinkBuilder
ToolbarLinkBuilder fills out the placeholders generated in user_toolbar().

Namespace

Drupal\login_destination

Code

public function __call($method, array $args = []) {
  return call_user_func_array([
    $this->innerService,
    $method,
  ], $args);
}