This is mostly a UX thing, but a pretty big one IMO. Currently, it's impossible to see what block type a custom block belongs to in de administration overview listing page at structure -> block layout- > custom block library.
Reproduce:
1. Create at least one other block type (beside the default basic block) at admin/structure/block/block-content/types/add
2. Create some custom blocks at block/add using the various block types made in step 1.
3. Go to the block listing library at admin/structure/block/block-content
You will see the blocks with the block description in the first column and an operations column with the edit/delete actions. But there is no way to see what block type it is in this screen, or in any other screen.
Comment | File | Size | Author |
---|---|---|---|
#16 | block-type-listing-2373283.15.patch | 3.39 KB | larowlan |
#16 | interdiff.txt | 793 bytes | larowlan |
#14 | block-type-listing-2373283.14.patch | 3.38 KB | larowlan |
#14 | interdiff.txt | 1.5 KB | larowlan |
#9 | block-type-listing-2373283.pass_.patch | 1.88 KB | larowlan |
Comments
Comment #1
askibinski CreditAttribution: askibinski commentedAdded screenshot which explains it in one picture.
Comment #2
askibinski CreditAttribution: askibinski commentedChanging it to the right component.
Comment #3
askibinski CreditAttribution: askibinski commentedI made a patch which adds this column to the listing.
However, $entity->bundle() returns the machine name of the bundle, not the bundle label, and I can't find how to return the bundle label. It doesn't seem to be part of the entity api documentation yet.
Comment #4
askibinski CreditAttribution: askibinski commentedWrong extension for the patch.
Comment #5
larowlanComment #6
dawehner+1 ... do we maybe need to add a test to ensure its there?
Comment #7
larowlanComment #9
larowlanshould be red/green
Comment #14
larowlanComment #16
larowlandoh
Comment #17
askibinski CreditAttribution: askibinski commentedCool, looks good to me :)
Comment #18
webchickComment #19
larowlanLet's focus on #2375589: Convert custom block library page to views instead