You are here

constant DRUPAL_DISABLED in Drupal 8

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

Disabled option on forms and settings

28 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
Test 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 71
Configuration system that lets administrators modify the workings of the site.

Code

const DRUPAL_DISABLED = 0;