Overriding Varbase
Configuration Overrides in settings.php
Basic Configuration Override
// Override the site name
$config['system.site']['name'] = 'My Custom Site';
// Override the site email
$config['system.site']['mail'] = '[email protected]';
// Override a specific module setting
$config['system.performance']['css']['preprocess'] = FALSE;
$config['system.performance']['js']['preprocess'] = FALSE;Environment-Specific Overrides
Disabling Modules via Configuration
Custom Modules
Creating a Custom Module
Using Hooks
Alter Forms
Alter Views
Alter Entity Access
Using Event Subscribers
Theme Overrides
Twig Template Overrides
Preprocess Functions
Overriding ECA Workflows
Best Practices
Last updated