Closed (fixed)
Project:
Drupal core
Version:
8.6.x-dev
Component:
content_moderation.module
Priority:
Major
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
5 Jul 2018 at 11:18 UTC
Updated:
23 Jul 2018 at 10:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
berdirSomething like this.
Comment #3
timmillwoodMakes sense, LGTM!
Comment #4
alexpottUnnecessary
()- however I suggest a re-implementation below that makes them necessary again.I think this might be simpler if moved to a helper method. For example:
Comment #5
berdirWorks for me, all that logic distracts from what we are actually doing there.
No interdiff, that's bigger than the patch.
Comment #6
amateescu commentedLooks great to me! If someone could fix this at some point, it would be even better:
"optimised" -> "optimized" :)
Comment #7
alexpottFixed #6 on commit. Committed e9dd745 and pushed to 8.6.x. Thanks!