You are here

constant COMMENT_ANONYMOUS_MAYNOT_CONTACT in Drupal 8

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

Anonymous posters cannot enter their contact information.

Deprecated

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

See also

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

File

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

Code

const COMMENT_ANONYMOUS_MAYNOT_CONTACT = 0;