Closed (fixed)
Project:
Config Auto Export
Version:
2.0.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
15 Mar 2021 at 11:11 UTC
Updated:
31 Mar 2021 at 10:14 UTC
Jump to comment: Most recent
We want to know the username, who triggered the config auto export event.
Add Parameter [current user] as pseudo-token and replace the token in Service.php.
A patch is attached, can you please review and perhaps add the enhancement to the next release?
usage: add parameter with pseudo-token to cae config parameter like:
currentuser: "[current user]"
| Comment | File | Size | Author |
|---|---|---|---|
| cae_Service.php_.patch | 1.06 KB | heikofischer |
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
jurgenhaas@heikofischer thanks for the proposal and the patch. Have you tried issue forks before? That's much easier to handle and you don't need matches anymore. Maybe you could do the next revision in a fork?
Regarding the code:
This should be replaced with a dependency injection (like the file system too) and the variable name should be camel case.
Comment #4
heikofischer commented@jurgenhaas I`ve created an issue fork and pushed the changes to the new branch, I also created a merge request.
Hope it all fits, that was my first issue fork ;)
Can you please review the changes?
Comment #5
jurgenhaas@heikofischer looks great, hope you enjoyed the experience with issue fork. At least as a maintainer it is much more convenient as I can review and comment in the browser and if everything is OK, I just click one button and the code is committed.
Just done that, thanks for your contribution.
Comment #6
heikofischer commentedThanks Jürgen