Skip to content

\Drupal::config('system.date')->get('country.default') now has validation and can now be null #482

@nlighteneddesign

Description

@nlighteneddesign

Problem/Motivation

10.3 introduces some validation [#3437325] so it may no longer be an empty string it is now NULL if it is not set. 10.3 also removes it from the site configuration form so it is more likely to be NULL on new sites [#3439439]

This should only affect new sites installing this module created after 10.3.

Steps to reproduce

Run tests on a fresh install of 10.3

Proposed resolution

Remove dependency on setting like the 2.x branch does.

Remaining tasks

User interface changes

API changes

Data model changes

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions