You are here

public function NoSourcePluginDecorator::__call in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/migrate/src/Plugin/NoSourcePluginDecorator.php \Drupal\migrate\Plugin\NoSourcePluginDecorator::__call()
  2. 9 core/modules/migrate/src/Plugin/NoSourcePluginDecorator.php \Drupal\migrate\Plugin\NoSourcePluginDecorator::__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/NoSourcePluginDecorator.php, line 54

Class

NoSourcePluginDecorator
Remove definitions which refer to a non-existing source plugin.

Namespace

Drupal\migrate\Plugin

Code

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