#2957474: Move the write functionality of config entities to a sub-module in preparation for removal is removing the ability to mutating of config entities in JSON API 2.x.

But it's doing it in a way that JSON API Extras can easily bring it back. So let's bring it back.

CommentFileSizeAuthor
#2 2982664-2.patch1.07 KBwim leers

Comments

Wim Leers created an issue. See original summary.

wim leers’s picture

Status: Active » Needs review
StatusFileSize
new1.07 KB

This is can even be used in combination with JSON API 1.x too!

Status: Needs review » Needs work

The last submitted patch, 2: 2982664-2.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

  • e0ipso committed c0d1b6c on 8.x-2.x authored by Wim Leers
    Issue #2982664 by Wim Leers: Enable mutating of config entities in JSON...
e0ipso’s picture

Status: Needs work » Fixed

I wasn't even aware of the isMutableResourceType method. That made this patch really easy!

This is committed. Thanks for the fix Wim!

wim leers’s picture

I wasn't even aware of the isMutableResourceType method. That made this patch really easy!

That's because it was added yesterday in #2957474: Move the write functionality of config entities to a sub-module in preparation for removal :) It's analogous to the isLocatableResourceType() method that was added a few months ago.

Status: Fixed » Closed (fixed)

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