Limit toolbar item to Nodes

Created on 16 April 2024, 2 months ago
Updated 30 May 2024, 27 days ago

Problem/Motivation

On my project I have Responsive Preview and Commerce Product modules enabled at the same time. As commerce products/variations does not support previews out of the box, I suggest to limit Preview toolbar item to Node entities.

Proposed resolution

Restrict Preview toolbar item to entities that implement NodeInterface.

User interface changes

Preview toolbar item will become visible on content entity forms only.

πŸ› Bug report
Status

Closed: works as designed

Version

2.1

Component

User interface

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024