Problem/Motivation

On node clone forms with the Gin Admin theme, the "Clone" button is hidden behind a secondary actions dropdown button with the title "More actions" - see the attached screenshot.
Editors have reported that it is annoying that the button is hidden on the form, by default requiring an extra action to clone the node.

Steps to reproduce

  1. Install Gin admin theme
  2. Try to clone a node
  3. See that the "Clone" and "Cancel" buttons are hidden in the "⠇" dropdown menu.

Proposed resolution

Mark both "Clone" and "Cancel" buttons as primary buttons for gin via $form['actions']['clone']['#gin_action_item'] = TRUE.

See https://www.drupal.org/docs/contributed-themes/gin-admin-theme/custom-th...

CommentFileSizeAuthor
2026-07-07 lf drupal clone gin.png150.51 KBcweiske
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

cweiske created an issue. See original summary.

cweiske’s picture

Issue summary: View changes

cweiske’s picture

Issue summary: View changes
cweiske’s picture