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.
I played a bit with the 'Config editor' functionality and i made some improvement/fixes
ConfigEditor
- Replaced Symfony\Component\Yaml\Dumper and Symfony\Component\Yaml\Parser with Drupal\Component\Serialization\Yaml for consistency
- Added validation for the provided input (empty or malformed input caused errors)
- Handled exception in form submit + logging operations
- Minor UI changes (increased rows for the textarea for better readability, wrapped current configuration value in a collapsed details element)
ConfigsList
- Replaced link elements with operations elements for UI consistency
- Added destination to operations's links to redirect the user back to the filtered list after completing the edits
Note
Patch provided in #2400453: Config list search doesn't work need to be applied or the search not work
Comment | File | Size | Author |
---|---|---|---|
#4 | devel-config-edit-2401007-4.patch | 7.79 KB | willzyx |
#1 | devel-config-edit-2401007-1.patch | 8.24 KB | willzyx |
Comments
Comment #1
willzyx CreditAttribution: willzyx commentedComment #2
willzyx CreditAttribution: willzyx commentedfeedbacks are welcome
Comment #3
pcambraThis needs a reroll after #2400453: Config list search doesn't work got in
Comment #4
willzyx CreditAttribution: willzyx commentedRerolled
Comment #5
moshe weitzman CreditAttribution: moshe weitzman commentedIndentation and braces mismatch I think.
Otherwise looks good.
Comment #6
willzyx CreditAttribution: willzyx commentedI can't see braces mismatching or coding standards issues. If you show me the problem I will fix it
Comment #8
moshe weitzman CreditAttribution: moshe weitzman commentedLooks like the patch is fine, it is just misleading when viewed as a diff ... Committed. Thanks.