DRUPAL_OPTIONAL

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

Optional option on forms and settings

13 uses of DRUPAL_OPTIONAL
CommentContentRebuild::testCommentRebuild in modules/comment/comment.test
Test to ensure that the comment's content array is rebuilt for every call to comment_view().
CommentHelperCase::postComment in modules/comment/comment.test
Post comment.
CommentHelperCase::setCommentPreview in modules/comment/comment.test
Set comment preview setting.
CommentInterfaceTest::testCommentInterface in modules/comment/comment.test
Test comment interface.
CommentPreviewTest::testCommentEditPreviewSave in modules/comment/comment.test
Test comment edit, preview, and save.

... See full list

File

modules/system/system.module, line 41

Code

define('DRUPAL_OPTIONAL', 1);

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