DRUPAL_DISABLED

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

Disabled option on forms and settings.

26 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 17

Code

const DRUPAL_DISABLED = 0;

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