You are here

public function YamlDiscoveryDecorator::__call in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Plugin/Discovery/YamlDiscoveryDecorator.php \Drupal\Core\Plugin\Discovery\YamlDiscoveryDecorator::__call()
  2. 9 core/lib/Drupal/Core/Plugin/Discovery/YamlDiscoveryDecorator.php \Drupal\Core\Plugin\Discovery\YamlDiscoveryDecorator::__call()

Passes through all unknown calls onto the decorated object.

File

core/lib/Drupal/Core/Plugin/Discovery/YamlDiscoveryDecorator.php, line 49

Class

YamlDiscoveryDecorator
Enables YAML discovery for plugin definitions.

Namespace

Drupal\Core\Plugin\Discovery

Code

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