You are here

public function JsCallbackBase::getTitle in JS Callback Handler 8.3

The human readable title of the callback, if set.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup|null The title or NULL if not set.

Overrides JsCallbackInterface::getTitle

File

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

Class

JsCallbackBase
Base JsCallback class.

Namespace

Drupal\js\Plugin\Js

Code

public function getTitle() {
  return $this->title;
}