You are here

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

File

tawk_to/src/core/TawktoGenerator.php, line 14

Class

TawktoGenerator

Namespace

Drupal\tawk_to\core

Code

public function widget() {

  // // Default settings.
  // $config = \Drupal::config('tawk_to.settings');
  // // Page title and source text.
  // $page_id = $config->get('tawk_to.page_id');
  // $widget_id = $config->get('tawk_to.widget_id');
  return $this
    ->getWidget();
}