@@ -77,6 +77,14 @@ class SiteSettingsConfigForm extends ConfigFormBase {
],
];
// Disable autoloading.
$form['disable_auto_loading']=[
'#type'=>'checkbox',
'#title'=>t('Disable auto-loading'),
'#description'=>t('By default, site settings are passed to every template. On a larger site with many templates or a site with many site settings, this can have an impact on performance. Please see the project homepage for details on how to implement your own autoloader in your theme or module. Note that you will need to clear the cache for the change to take effect.'),