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.
Hello,
There are errors on the menu_attributes settings when checking the schema with config_inspector.
I will upload a patch.
Comment | File | Size | Author |
---|---|---|---|
#4 | 2883698-after_patch.png | 83.74 KB | Grimreaper |
#4 | 2883698-before_patch.png | 78.2 KB | Grimreaper |
#4 | menu_attributes-config_schema-2883698-4.patch | 805 bytes | Grimreaper |
Comments
Comment #2
GrimreaperHere is the patch.
Thanks for the review.
Comment #3
joelpittetCould you provide documentation links or more reason for the change?
Comment #4
GrimreaperHello,
Here is a reworked patch. It was not config_entity but config_object that should be used.
Documentation link: https://www.drupal.org/docs/8/api/configuration-api/configuration-schema...
More reason for the change: please see the attached screenshots.
Comment #5
joelpittetThanks @Grimreaper that link is helpful for why the change is needed. It's like a special
mapping
.Comment #7
joelpittetCommitted and pushed.
Comment #8
GrimreaperThanks @joelpittet for the commit.
Yes you can define new schema types and inherit from those and core provides a lot of "advanced" type.