Closed (fixed)
Project:
State Log
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
7 Jan 2020 at 22:24 UTC
Updated:
4 Jun 2020 at 15:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
srdtwc commentedAdded functionality to create a list of states to exclude from being logged. Based off of code from the config_log module.
Comment #3
tim.plunkettLooks good!
s/Sate/State
string?
If you put
?: []at the end of the first line, then you can skip the !empty check and just foreach itThis looks indented oddly. Also, this line can be
Comment #4
srdtwc commentedHere's a revised patch.
Comment #5
srdtwc commentedCan this be merged in? Thanks
Comment #6
tim.plunkettA couple more points of feedback, but it's close!
Needs a proper line ending
Configure State Log settings.
These can be removed
This can be indented normally and have '); on the same line, it won't affect the visual formatting
Instead of this, it can
Can replace with
That's the point of getEditableConfigNames, to make the config() method work as expected.
Missing param doc
Something like:
TRUE if the state key is ignored, FALSE otherwise.This loop is over-indented.
Why fnmatch? I've never seen it used in Drupal before, and it's not clear what benefits it provides. But even the PHP docs suggest not to use it...
Comment #7
srdtwc commentedHow does this look?
Comment #9
tim.plunkettThanks! Made a couple other tweaks before commit.
It's good to post an interdiff when you make changes, to help keep track between patches.
Comment #10
srdtwc commentedThanks for the help, Tim!