You are here

constant DRUPAL_DISABLED in Drupal 10

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

Disabled option on forms and settings.

29 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.
CommentItem::fieldSettingsForm in core/modules/comment/src/Plugin/Field/FieldType/CommentItem.php
Returns a form for the field-level settings.
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.

... See full list

File

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

Code

const DRUPAL_DISABLED = 0;