Support entities without 'edit-form' link

Created on 24 November 2023, 7 months ago
Updated 4 February 2024, 5 months ago

First of all, thank you for this nice module. It is important to have preview for all entity types, not just node.

Problem/Motivation

Some entities like paragraphs do not have link templates at all. Some create their own routes for edit and add entities. The preview view mode select form relies on the fact that 'edit-form' template exists for the entity that is being previewed. Therefor when editing paragraph, the preview page has fatal error.

Steps to reproduce

Install paragraphs_edit module, try to edit paragraph and click preview.

Proposed resolution

Create hooks so that other modules can react on the backlink for preview view mode select form.

Remaining tasks

Review the MR

User interface changes

None

API changes

None

Data model changes

None

✨ Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany a.dmitriiev

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