You are here

public function LivechatWidgetHandler::setWidgetLibraryRoute in Rocket.Chat 8

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

Setter for widgetLibraryRoute.

Parameters

mixed|string $widgetLibraryRoute: Widget library route.

File

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

Class

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

Namespace

Drupal\livechat

Code

public function setWidgetLibraryRoute($widgetLibraryRoute) {
  $this->widgetLibraryRoute = $widgetLibraryRoute;
}