You are here

public function JsCallbackInterface::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.

1 method overrides JsCallbackInterface::call()
JsCallbackBase::call in src/Plugin/Js/JsCallbackBase.php
Calls a method on the callback, providing necessary converted parameters.

File

src/Plugin/Js/JsCallbackInterface.php, line 43

Class

JsCallbackInterface
JsCallbackInterface.

Namespace

Drupal\js\Plugin\Js

Code

public function call($method);