constant DRUPAL_OPTIONAL in Drupal 7
Same name and namespace in other branches
- 8 core/modules/system/system.module \DRUPAL_OPTIONAL
- 9 core/modules/system/system.module \DRUPAL_OPTIONAL
- 10 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.
File
- modules/
system/ system.module, line 41 - Configuration system that lets administrators modify the workings of the site.
Code
define('DRUPAL_OPTIONAL', 1);