constant DRUPAL_REQUIRED in Drupal 7
Same name and namespace in other branches
- 8 core/modules/system/system.module \DRUPAL_REQUIRED
- 9 core/modules/system/system.module \DRUPAL_REQUIRED
Required option on forms and settings
5 uses of DRUPAL_REQUIRED
- 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.
- comment_form in modules/
comment/ comment.module - Generate the basic commenting form, for appending to a node or display on a separate page.
- node_form in modules/
node/ node.pages.inc - Form constructor for the node add/edit form.
File
- modules/
system/ system.module, line 46 - Configuration system that lets administrators modify the workings of the site.
Code
define('DRUPAL_REQUIRED', 2);