You are here

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

File

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

Class

TawktoGenerator

Namespace

Drupal\tawk_to\core

Code

public function settings() {

  // 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');
}