You are here

public function LivechatWidgetHandler::getWidgetLibraryName in Rocket.Chat 8

Same name and namespace in other branches
  1. 8.2 modules/livechat/src/LivechatWidgetHandler.php \Drupal\livechat\LivechatWidgetHandler::getWidgetLibraryName()

Get widgetLibraryName.

Return value

mixed|string widgetLibraryName.

1 call to LivechatWidgetHandler::getWidgetLibraryName()
LivechatWidgetHandler::setAssets in modules/livechat/src/LivechatWidgetHandler.php
Extract the intended javascript based on the route and the Library route.

File

modules/livechat/src/LivechatWidgetHandler.php, line 139
Contains \Drupal\rocket_chat\WidgetHandler.

Class

LivechatWidgetHandler
Glue class to make the widget dynamically build the javascript file.

Namespace

Drupal\livechat

Code

public function getWidgetLibraryName() {
  return $this->widgetLibraryName;
}