CommentInterface::ANONYMOUS_MUST_CONTACT

Same name and namespace in other branches
  1. 11.x core/modules/comment/src/CommentInterface.php \Drupal\comment\CommentInterface::ANONYMOUS_MUST_CONTACT
  2. 10 core/modules/comment/src/CommentInterface.php \Drupal\comment\CommentInterface::ANONYMOUS_MUST_CONTACT
  3. 9 core/modules/comment/src/CommentInterface.php \Drupal\comment\CommentInterface::ANONYMOUS_MUST_CONTACT
  4. 8.9.x core/modules/comment/src/CommentInterface.php \Drupal\comment\CommentInterface::ANONYMOUS_MUST_CONTACT

Anonymous posters are required to leave their contact information.

Deprecated

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal\comment\AnonymousContact::Required instead.

See also

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

File

core/modules/comment/src/CommentInterface.php, line 53

Class

CommentInterface
Provides an interface defining a comment entity.

Namespace

Drupal\comment

Code

const ANONYMOUS_MUST_CONTACT = 2;

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