Problem/Motivation
Currently the settings fields at /admin/config/content/unique-fields are empty after installation, but should instead carry the default value: https://git.drupalcode.org/project/unique_field/-/blob/8.x-2.x/unique_fi...
Steps to reproduce
Visit /admin/config/content/unique-fields after a fresh install and see the fields empty, which is confusing.
Proposed resolution
- Remove the constant at https://git.drupalcode.org/project/unique_field/-/blob/8.x-2.x/unique_fi... and move the text into the .install config.
- Add an update hook to set the text for existing installations
- Remove the fallback to constant at https://git.drupalcode.org/project/unique_field/-/blob/8.x-2.x/unique_fi...
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3589117-2.patch | 3.2 KB | skifdesu |
Issue fork unique_field-3589117
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
skifdesu commentedAdded a patch which moves the constant into the .install config.
Comment #3
anybody@skifdesu thanks but please use merge-requests.
Comment #5
skifdesu commented