DRUPAL_REQUIRED

Same name in other branches
  1. 9 core/modules/system/system.module \DRUPAL_REQUIRED
  2. 8.9.x core/modules/system/system.module \DRUPAL_REQUIRED
  3. 10 core/modules/system/system.module \DRUPAL_REQUIRED
  4. 11.x core/modules/system/system.module \DRUPAL_REQUIRED

Required option on forms and settings

5 uses of DRUPAL_REQUIRED
CommentHelperCase::postComment in modules/comment/comment.test
Post comment.
CommentHelperCase::setCommentPreview in modules/comment/comment.test
Set comment preview setting.
CommentInterfaceTest::testCommentInterface in modules/comment/comment.test
Test comment interface.
comment_form in modules/comment/comment.module
Generate the basic commenting form, for appending to a node or display on a separate page.
node_form in modules/node/node.pages.inc
Form constructor for the node add/edit form.

File

modules/system/system.module, line 46

Code

define('DRUPAL_REQUIRED', 2);

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