public function LivechatWidgetHandler::getWidgetLibraryRoute in Rocket.Chat 8
Same name and namespace in other branches
- 8.2 modules/livechat/src/LivechatWidgetHandler.php \Drupal\livechat\LivechatWidgetHandler::getWidgetLibraryRoute()
Get widgetLibraryRoute.
Return value
mixed|string widgetLibraryRoute.
1 call to LivechatWidgetHandler::getWidgetLibraryRoute()
- 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 129 - Contains \Drupal\rocket_chat\WidgetHandler.
Class
- LivechatWidgetHandler
- Glue class to make the widget dynamically build the javascript file.
Namespace
Drupal\livechatCode
public function getWidgetLibraryRoute() {
return $this->widgetLibraryRoute;
}