public function JsCallbackBase::call in JS Callback Handler 8.3
Calls a method on the callback, providing necessary converted parameters.
Parameters
string $method: The method name to call.
Return value
mixed The result from calling the method.
Overrides JsCallbackInterface::call
File
- src/
Plugin/ Js/ JsCallbackBase.php, line 94
Class
- JsCallbackBase
- Base JsCallback class.
Namespace
Drupal\js\Plugin\JsCode
public function call($method) {
return call_user_func_array([
$this,
$method,
], $this
->mapMethodParameters($method));
}