You are here

constant DRUPAL_REQUIRED in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/system/system.module \DRUPAL_REQUIRED
  2. 7 modules/system/system.module \DRUPAL_REQUIRED

Required option on forms and settings.

13 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::setCommentPreview in core/modules/comment/tests/src/Functional/CommentTestBase.php
Sets the value governing the previewing mode for the comment form.

... See full list

File

core/modules/system/system.module, line 46
Configuration system that lets administrators modify the workings of the site.

Code

const DRUPAL_REQUIRED = 2;