Update README how to exclude forms

Created on 8 December 2021, over 2 years ago
Updated 17 April 2024, 2 days ago

Problem/Motivation

E.g. install the scheduled_transitions module and you'll see that the Unlock button is also shown on the "Scheduled transitions" tab.

Steps to reproduce

* Add scheduled_transitions and enable it
* Configure it to be used on a content type
* Go to a content item of that content type and open the scheduled transitions tab
* Check the buttons on the buttons on the page.

Proposed resolution

* Update the logic in \content_lock_form_alter to make sure it's only shown on the proper forms (now it checks the entity type and form type, but in some cases that's not enough).

📌 Task
Status

Fixed

Version

2.0

Component

Code

Created by

🇧🇪Belgium daften

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

    The patch will have to be re-rolled with new suggestions/changes described in the comments in the issue.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

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

Production build https://api.contrib.social 0.62.1