Active
Project:
Drupal core
Version:
main
Component:
comment.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
14 Apr 2025 at 04:39 UTC
Updated:
27 Apr 2026 at 04:37 UTC
Jump to comment: Most recent
Comment module introduced various constants in 2005 when enums in php didn't exist. See #21221: Make status values in comment.module defined constants for readability and #34295: comment configure bug (Default display mode and Comment controls) for example.
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 #3
mstrelan commentedWe'll probably need to split this in to 5 separate issues, but adding all to one MR for now.
Comment #4
mstrelan commentedComment #5
mstrelan commentedConverted to meta and opened #3547349: Move ANONYMOUS_ constants in CommentInterface to new AnonymousContact enum to start
Comment #6
mstrelan commentedComment #7
mstrelan commentedComment #9
mstrelan commentedOpened #3587004: Move COMMENT_MODE_FLAT and and COMMENT_MODE_THREADED constants to new CommentMode enum which is the last one in this meta