Cannot enable #gin_action_item for #type = link

Created on 30 July 2025, 14 days ago

Problem/Motivation

The Content Lock module includes '#gin_action_item' => TRUE for its Unlock action, but this is ignored by Gin because its #type is link instead of submit.

Steps to reproduce

Install and configure the Content Lock module. Lock an entity. The Unlock button will be hidden in the actions dropdown.

Proposed resolution

Allow #type = link.

🐛 Bug report
Status

Active

Version

5.0

Component

Code

Created by

🇧🇪Belgium dieterholvoet Brussels

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

Comments & Activities

Production build 0.71.5 2024