Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
For a while settings.php contained debug settings for Twig, but they were moved to services.yml in #2251113: Use container parameters instead of settings. Also see the the change record: https://www.drupal.org/node/2317817
This change was not updated in the $settings docblock of settings.php however, leaving me searching for a while :(
The culprit:
/**
* Settings:
*
* $settings contains environment-specific configuration, such as the files
* directory and reverse proxy address, and temporary configuration, such as
* turning on Twig debugging and security overrides.
*
* @see \Drupal\Core\Site\Settings::get()
*/
Proposed resolution
Remove the text from default.settings.php that says the file contains Twig debug settings.
Remaining tasks
- Write a patch
- Review
User interface changes
None
API changes
None
Comment | File | Size | Author |
---|---|---|---|
#2 | 2401253-2.patch | 506 bytes | idebr |
Comments
Comment #1
idebr CreditAttribution: idebr commentedAttached patch changes the text to read:
Comment #2
idebr CreditAttribution: idebr commentedComment #3
dawehner+1
Comment #5
jhodgdonThanks! Committed to 8.0.x.
Beta note: Docs only, Ok to commit.