You are here

public function TawktoController::widget in tawk.to Live Chat (Drupal 8) 8

1 string reference to 'TawktoController::widget'
tawk_to.routing.yml in tawk_to/tawk_to.routing.yml
tawk_to/tawk_to.routing.yml

File

tawk_to/src/Controller/TawktoController.php, line 33

Class

TawktoController

Namespace

Drupal\tawk_to\Controller

Code

public function widget() {
  $widget = $this->generator
    ->widget();

  // $content = $this->generator->getIframe();
  // $this->loggerFactory->get('default')
  //     ->debug($content);
  return new Response($widget);
}