You are here

public function JsCallbackBase::validate in JS Callback Handler 8.3

Validates the callback.

Parameters

mixed ...: Any number of arguments can be passed here.

Return value

mixed The content to return.

Overrides JsCallbackInterface::validate

1 method overrides JsCallbackBase::validate()
Email::validate in js_callback_examples/src/Plugin/Js/Email.php
Validates the callback.

File

src/Plugin/Js/JsCallbackBase.php, line 234

Class

JsCallbackBase
Base JsCallback class.

Namespace

Drupal\js\Plugin\Js

Code

public function validate() {
  return TRUE;
}