function NoSourcePluginDecorator::__call

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

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