You are here

constant COMMENT_ANONYMOUS_MAY_CONTACT in Drupal 8

Same name and namespace in other branches
  1. 4 modules/comment.module \COMMENT_ANONYMOUS_MAY_CONTACT
  2. 5 modules/comment/comment.module \COMMENT_ANONYMOUS_MAY_CONTACT
  3. 6 modules/comment/comment.module \COMMENT_ANONYMOUS_MAY_CONTACT
  4. 7 modules/comment/comment.module \COMMENT_ANONYMOUS_MAY_CONTACT

Anonymous posters may leave their contact information.

Deprecated

in drupal:8.3.0 and is removed from drupal:9.0.0. Use \Drupal\comment\CommentInterface::ANONYMOUS_MAY_CONTACT instead.

See also

https://www.drupal.org/node/2831620

File

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

Code

const COMMENT_ANONYMOUS_MAY_CONTACT = 1;