Node Body | Modules Unraveled

Overriding Settings in Code with settings.local.php

Previous versions of Drupal have had the ability to override database variables with hard-coded values in the settings.php file. For example, in the Drupal 7 default.settings.php file, you'll find a section for "Variable overrides" where it shows how to override the site name by uncommenting the line "$conf['site_name'] = 'My Drupal site';".