You are here

constant DRUPAL_OPTIONAL in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/system/system.module \DRUPAL_OPTIONAL
  2. 7 modules/system/system.module \DRUPAL_OPTIONAL
  3. 9 core/modules/system/system.module \DRUPAL_OPTIONAL

Optional option on forms and settings.

31 uses of DRUPAL_OPTIONAL
CommentAttributesTest::setUp in core/modules/rdf/tests/src/Functional/CommentAttributesTest.php
CommentInterfaceTest::testCommentInterface in core/modules/comment/tests/src/Functional/CommentInterfaceTest.php
Tests the comment interface.
CommentItem::defaultFieldSettings in core/modules/comment/src/Plugin/Field/FieldType/CommentItem.php
Defines the field-level settings for this plugin.
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.

... See full list

File

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

Code

const DRUPAL_OPTIONAL = 1;