You are here

public function InfoHookDecorator::__call in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Plugin/Discovery/InfoHookDecorator.php \Drupal\Core\Plugin\Discovery\InfoHookDecorator::__call()

Passes through all unknown calls onto the decorated object.

File

core/lib/Drupal/Core/Plugin/Discovery/InfoHookDecorator.php, line 62
Contains \Drupal\Core\Plugin\Discovery\InfoHookDecorator.

Class

InfoHookDecorator
Allows info hook implementations to enhance discovered plugin definitions.

Namespace

Drupal\Core\Plugin\Discovery

Code

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