You are here

public function ProviderFilterDecorator::__call in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/migrate/src/Plugin/Discovery/ProviderFilterDecorator.php \Drupal\migrate\Plugin\Discovery\ProviderFilterDecorator::__call()

Passes through all unknown calls onto the decorated object.

Parameters

string $method: The method to call on the decorated object.

array $args: Call arguments.

Return value

mixed The return value from the method on the decorated object.

File

core/modules/migrate/src/Plugin/Discovery/ProviderFilterDecorator.php, line 95

Class

ProviderFilterDecorator
Remove plugin definitions with non-existing providers.

Namespace

Drupal\migrate\Plugin\Discovery

Code

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