constant DRUPAL_OPTIONAL

Optional option on forms and settings

18 uses of DRUPAL_OPTIONAL
CommentAttributesTest::setUp in drupal/core/modules/rdf/lib/Drupal/rdf/Tests/CommentAttributesTest.php
Sets up a Drupal site for running functional and integration tests.
CommentContentRebuildTest::testCommentRebuild in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentContentRebuildTest.php
Tests the rebuilding of comment's content arrays on calling comment_view().
CommentFormController::actions in drupal/core/modules/comment/lib/Drupal/comment/CommentFormController.php
Overrides Drupal\Core\Entity\EntityFormController::actions().
CommentInterfaceTest::testCommentInterface in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentInterfaceTest.php
Tests the comment interface.
CommentPreviewTest::testCommentEditPreviewSave in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentPreviewTest.php
Tests comment edit, preview, and save.

... See full list

File

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

Code

const DRUPAL_OPTIONAL = 1;