COMMENT_ANONYMOUS_MUST_CONTACT

Same name in other branches
  1. 7.x modules/comment/comment.module \COMMENT_ANONYMOUS_MUST_CONTACT

Anonymous posters are required to leave their contact information.

Deprecated

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

See also

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

File

core/modules/comment/comment.module, line 59

Code

const COMMENT_ANONYMOUS_MUST_CONTACT = 2;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.