You are here

constant DRUPAL_DISABLED in Drupal 9

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

Disabled option on forms and settings.

24 uses of DRUPAL_DISABLED
CommentForm::actions in core/modules/comment/src/CommentForm.php
Returns an array of supported actions for the current entity form.
CommentInterfaceTest::setUp in core/modules/comment/tests/src/Functional/CommentInterfaceTest.php
Set up comments to have subject and preview disabled.
CommentNodeAccessTest::testThreadedCommentView in core/modules/comment/tests/src/Functional/CommentNodeAccessTest.php
Tests that threaded comments can be viewed.
CommentNonNodeTest::postComment in core/modules/comment/tests/src/Functional/CommentNonNodeTest.php
Posts a comment.
CommentPagerTest::testCommentNewPageIndicator in core/modules/comment/tests/src/Functional/CommentPagerTest.php
Tests calculation of first page with new comment.

... See full list

File

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

Code

const DRUPAL_DISABLED = 0;