Add support for negating node type(content type) condition for block visibility

Created on 16 February 2022, over 2 years ago
Updated 21 January 2023, almost 2 years ago

Problem/Motivation

The block module removes the the node type(content type) condition's ability to be negated. In our company we usually have clients with a lot of content types that require to show some blocks only for 1 or 2 types.

Steps to reproduce

  • Navigate to any block placed in the block layout
  • Click the Content types visibility vertical tab and visually view that we no longer have a checkbox/radio button to negate the condition.

Proposed resolution

Allow the user to negate the Content types visibility condition.

Remaining tasks

Manual testing with theme other than Bartik

User interface changes

API changes

Data model changes

Release notes snippet

Feature request
Status

Needs work

Version

10.1

Component
Block 

Last updated about 4 hours ago

Created by

🇵🇦Panama GTR18 Panama

Live updates comments and jobs are added and updated live.
  • Needs change record

    A change record needs to be drafted before an issue is committed. Note: Change records used to be called change notifications.

Sign in to follow issues

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.71.5 2024