Returns a setting.
Settings can be set in settings.php in the $settings array and requested by this function. Settings should be used over configuration for read-only, possibly low bootstrap configuration that is environment specific.
\Drupal\Component\Utility\Settings The settings object.
function settings() {
return Settings::getSingleton();
}