Problem/Motivation

We can have a little bit less complexity in \Drupal\Core\Site\Settings::initialize()

Proposed resolution

Less ifs

Remaining tasks

User interface changes

None

API changes

None

Data model changes

Nonr

Release notes snippet

N/a

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

alexpott created an issue. See original summary.

alexpott’s picture

Status: Needs review » Needs work

The last submitted patch, 2: 3284970-2.patch, failed testing. View results

alexpott’s picture

Status: Needs work » Needs review
mondrake’s picture

Status: Needs review » Reviewed & tested by the community

Looks sensible.

  • catch committed 3231fae on 9.4.x
    Issue #3284970 by alexpott: Reduce complexity in \Drupal\Core\Site\...
  • catch committed c1a3078 on 9.5.x
    Issue #3284970 by alexpott: Reduce complexity in \Drupal\Core\Site\...
catch’s picture

Status: Reviewed & tested by the community » Fixed

Committed/pushed to 10.0.x, cherry-picked to 9.5.x and 9.4.x, thanks!

  • catch committed 2b2ab4b on 10.0.x
    Issue #3284970 by alexpott: Reduce complexity in \Drupal\Core\Site\...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.