constant DRUPAL_REQUIRED in Drupal 10
Same name and namespace in other branches
- 8 core/modules/system/system.module \DRUPAL_REQUIRED
- 7 modules/system/system.module \DRUPAL_REQUIRED
- 9 core/modules/system/system.module \DRUPAL_REQUIRED
Required option on forms and settings.
16 uses of DRUPAL_REQUIRED
- CommentForm::actions in core/
modules/ comment/ src/ CommentForm.php - Returns an array of supported actions for the current entity form.
- CommentInterfaceTest::testCommentInterface in core/
modules/ comment/ tests/ src/ Functional/ CommentInterfaceTest.php - Tests the comment interface.
- CommentItem::fieldSettingsForm in core/
modules/ comment/ src/ Plugin/ Field/ FieldType/ CommentItem.php - Returns a form for the field-level settings.
- CommentNonNodeTest::postComment in core/
modules/ comment/ tests/ src/ Functional/ CommentNonNodeTest.php - Posts a comment.
- CommentTestBase::postComment in core/
modules/ comment/ tests/ src/ Functional/ CommentTestBase.php - Posts a comment.
File
- core/
modules/ system/ system.module, line 49 - Configuration system that lets administrators modify the workings of the site.
Code
const DRUPAL_REQUIRED = 2;