public function TawktoGenerator::settings in tawk.to Live Chat (Drupal 8) 8
File
- tawk_to/
src/ core/ TawktoGenerator.php, line 68
Class
Namespace
Drupal\tawk_to\coreCode
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');
}