You are here

public function LivechatWidgetHandler::widgetParams in Rocket.Chat 8

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

Get widgetParams.

Return value

array Form Array

1 call to LivechatWidgetHandler::widgetParams()
LivechatWidgetHandler::renderWidgetWithJavaScriptKeys in modules/livechat/src/LivechatWidgetHandler.php
Render Widget.

File

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

Class

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

Namespace

Drupal\livechat

Code

public function widgetParams() {
  return $this->form;
}