You are here

constant COMMENT_ANONYMOUS_MUST_CONTACT in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/comment/comment.module \COMMENT_ANONYMOUS_MUST_CONTACT

Anonymous posters are required to leave their contact information.

4 uses of COMMENT_ANONYMOUS_MUST_CONTACT
CommentAnonymousTest::testAnonymous in core/modules/comment/src/Tests/CommentAnonymousTest.php
Tests anonymous comment functionality.
CommentForm::form in core/modules/comment/src/CommentForm.php
Gets the actual form array to be built.
CommentNameConstraintValidator::validate in core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraintValidator.php
Checks if the passed value is valid.
CommentValidationTest::testValidation in core/modules/comment/src/Tests/CommentValidationTest.php
Tests the comment validation constraints.

File

core/modules/comment/comment.module, line 41
Enables users to comment on published content.

Code

const COMMENT_ANONYMOUS_MUST_CONTACT = 2;