You are here

public function JsCallbackInterface::setTitle in JS Callback Handler 8.3

Sets the title for the callback.

Parameters

\Drupal\Core\StringTranslation\TranslatableMarkup|string $title: The title to set.

Return value

$this

1 method overrides JsCallbackInterface::setTitle()
JsCallbackBase::setTitle in src/Plugin/Js/JsCallbackBase.php
Sets the title for the callback.

File

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

Class

JsCallbackInterface
JsCallbackInterface.

Namespace

Drupal\js\Plugin\Js

Code

public function setTitle($title = '');