UI for publishing/unpublishing block_content blocks

Created on 10 December 2016, over 7 years ago
Updated 1 April 2024, 2 months ago

Problem/Motivation

In #2820848: Make BlockContent entities publishable blocks got a publishing status field, but no UI. We should provide a way for users to (un)publish blocks when editing/creating them.

Changes to the block library page have been split off to to #2909435: Update block library page to adapt publishable block content implementation

Proposed resolution

Add the published checkbox to the block edit form like on other editorial content entities.

If a block is unpublished it does not appear.

Remaining tasks

  • Add additional test coverage for the UI implications of what happens if a block content entity is unpublished (see #87)
  • Confirm how this impacts translations (see #87)
  • - it will not appear

  • - I'm going to say no as I can't think of what usefulness that would be. Or should be a follow up
  • Reviews
  • Manual testing of patch
  • Commit

User interface changes

Yes.

Status checkbox on the block content form

API changes

None.

Data model changes

None.

Feature request
Status

Needs work

Version

11.0 🔥

Component
Block content 

Last updated 22 days ago

Created by

🇫🇷France dixon_ France

Live updates comments and jobs are added and updated live.
  • Usability

    Makes Drupal easier to use. Preferred over UX, D7UX, etc.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024