DRUPAL_REQUIRED

Same name in other branches
  1. 7.x modules/system/system.module \DRUPAL_REQUIRED
  2. 9 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

17 uses of DRUPAL_REQUIRED
CommentForm::actions in core/modules/comment/src/CommentForm.php
Returns an array of supported actions for the current entity form.
CommentInterfaceTest::testCommentInterface in core/modules/comment/tests/src/Functional/CommentInterfaceTest.php
Tests the comment interface.
CommentNonNodeTest::postComment in core/modules/comment/tests/src/Functional/CommentNonNodeTest.php
Posts a comment.
CommentTestBase::postComment in core/modules/comment/tests/src/Functional/CommentTestBase.php
Posts a comment.
CommentTestBase::postComment in core/modules/comment/src/Tests/CommentTestBase.php
Posts a comment.

... See full list

File

core/modules/system/system.module, line 81

Code

const DRUPAL_REQUIRED = 2;

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