function ProviderFilterDecorator::__call

Same name and namespace in other branches
  1. 9 core/modules/migrate/src/Plugin/Discovery/ProviderFilterDecorator.php \Drupal\migrate\Plugin\Discovery\ProviderFilterDecorator::__call()
  2. 8.9.x core/modules/migrate/src/Plugin/Discovery/ProviderFilterDecorator.php \Drupal\migrate\Plugin\Discovery\ProviderFilterDecorator::__call()
  3. 10 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);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.