This is breaking tests on HEAD (because 8.7 was just branched).
#2976334: Allow Custom blocks to be set as non-reusable adding access restriction based on where it was used. added a new base field to the block content type. For now, this is in 8.7 and up. It may be back ported.
We should conditionally add this to the expected document in 8.7 and up.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | Screen Shot 2018-07-17 at 11.48.14.png | 120.02 KB | gabesullice |
| #2 | 2986383-3.patch | 866 bytes | gabesullice |
Comments
Comment #2
gabesulliceShould fix it.
Comment #4
gabesulliceThis indeed fixes things. Committed! :)
Comment #5
wim leers👍
Comment #6
gabesulliceComment #8
drupalninja99 commentedWhy does JSON:API only render reusable blocks? Paragraphs endpoints render all paragraphs, I don't understand why JSON:API wouldn't render inline blocks at each block entity endpoint.