Limit toolbar item to Nodes

Created on 16 April 2024, 7 months ago
Updated 30 May 2024, 6 months 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

🇧🇾Belarus aylis

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024