Problem/Motivation
I created my profile_type (multiple) with a Label and even Display label, but the local action and the add form page title say "Add Profile" instead of "Add [my Label / Display label]".
Is it possible to change it programmaticaly without hacking Profile module itself?
Thank you
| Comment | File | Size | Author |
|---|
Issue fork profile-3360825
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
Comment #2
dwwYup, I needed exactly the same. Thanks for opening the issue about it.
Here's the start of a solution. This fixes the 'Add profile' local action. Still "needs work" to also fix the page title of the add form itself.
Comment #3
dwwThis fixes the title of the add form, too. I reproduced the test fails locally, so that's coming next. 😅 Fixing version so we can open an MR, instead of patches.
Comment #5
dww354f8f43 should fix the failing tests, but it might be cheating. 😅 Shows this is a potentially disruptive change. Not sure if we need to make this behavior a setting that folks have to opt into.
Comment #6
dwwStill need this. 😅 There were merge conflicts, so I rebased the MR. There's a phpcs and phpstan (max PHP version) failure in
profile.modulethat's untouched by this MR. Not sure what's going on with that, but seems out of scope to fix it here.phpcs
phpstan (max PHP version)
Trivial fix, but seems out of scope. Not sure why this pipeline is complaining about it, since I didn't touch that and it's identical in the 8.x-1.x branch (which seems to be passing).
Comment #9
jsacksick commented