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.
Problem/Motivation
This is a follow-up to #2820848: Make BlockContent entities publishable. Views integration is needed for the block publishing status.
Proposed resolution
Pretty straight forward Views integration.
Remaining tasks
Implement everything.
User interface changes
None.
API changes
None.
Data model changes
None.
Comment | File | Size | Author |
---|
Comments
Comment #2
dawehnerIMHO this will be added automatically, without any further work.
Comment #3
Manuel Garcia CreditAttribution: Manuel Garcia as a volunteer commentedI think @dawehner is correct, I've been testing the patch on #2820848: Make BlockContent entities publishable, and playing around with the block_content view, and I am able to show the Publishing status field, and add an exposed filter which works properly, so we may not need to do anything here after all.
Displaying True / False as the options for the exposed filter may not very user friendly, though I'm not sure this should be improved in core.
One thing we could use this issue for is actually including the published column and exposed filter to this view? Just in case we do, or for other people who want to test this, the attached patch adds the published column and exposed filter to /admin/structure/block/block-content.
Comment #5
Manuel Garcia CreditAttribution: Manuel Garcia as a volunteer commentedFixing failing test
Comment #6
Manuel Garcia CreditAttribution: Manuel Garcia as a volunteer commentedOK this looks like it's more suited for #2834546: UI for publishing/unpublishing block_content blocks so I'm going to take this work over there.
Comment #7
Manuel Garcia CreditAttribution: Manuel Garcia as a volunteer commentedPlease ignore my last patches here, made a lot more progress on #2834546: UI for publishing/unpublishing block_content blocks.
On there admittedly there I did add a bit of views integration (adding the bulk operations actions for publishing/unpublishing blocks), but well its just part of the whole UI of this so why keep them separate...
I think we could just close this and continue to work on there.
Comment #8
Manuel Garcia CreditAttribution: Manuel Garcia as a volunteer commented