Closed (fixed)
Project:
Drupal core
Version:
11.x-dev
Component:
Admin theme
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
11 Apr 2026 at 22:15 UTC
Updated:
6 May 2026 at 20:30 UTC
Jump to comment: Most recent
There are multiple references to gin_ variables or gin_ form elements, and these are not covered by rename in #3576494: [meta] Remove references to Gin. We should probably handle these separately. For example:
Search for gin_ outside comments and identify variables, form element names and other mentions.
git grep "form\['gin_" | sort -u
git grep "variables\['gin_" | sort -uIdentify all other Gin mentions in variables, form element names, and similar and rename these.
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
Comment #2
poker10 commentedComment #5
quietone commentedFound instances with the following and changed them using sed.
Comment #6
smustgrave commentedgit grep "variables\['gin_" | sort -uThink the underscore is missing them but I'm not great with grep. But I see in variables.pcss.css there are 4 variables --gin-color-text, --gin-color-focus, --gin-color-button-text, and --gin-color-button-text plus wherever they're used.
Comment #7
quietone commentedMissing what?
The issue summary scopes this to 'gin_'.
Comment #8
smustgrave commentedTitle says gin variables are those that I pointed out in #6 not variables?
Comment #9
poker10 commentedLooks like some of the
gin_strings were renamed todefault_action_instead ofdefault_admin_?Comment #10
smustgrave commentedSo based on the title and fact it's a theme I read this as CSS variables but maybe it was just php variables. If that's the case I'm still seeing some variable names in themeHooks, example $gin_info
Comment #11
quietone commentedWell, that was a silly mistake on my part. Fixed now.
Comment #12
smustgrave commentedI still see variable names starting with $gin_ in theme books
Comment #13
quietone commentedSince I am not seeing them, can you link to what I am missing?
Comment #14
quietone commentedIn Slack @smustgrave gave this example
Those are preceded by a "$" and not in the scope of the issue summary.
Comment #15
smustgrave commentedTalked to @quietone in slack and this doesn't include php variables. My comments are wrong then.
Comment #17
amateescu commentedCommitted a50f288 to main and d48ba57 to 11.x. Thanks!