Like the title says, I want to access the sites default timezone.
Guess
Drupal::config('system.date')->get('timezone')['default']
is the right function. I really would love to know how to use the config-function. Is there a list with all the configs, settings or variables that can be called?
Whats the logic behind the keywords "system.date"? Is there a way to discover keywords by looking at the yml config structure? Can all values of them be returned?