22 uses of DRUPAL_OPTIONAL
- 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.
- CommentNonNodeTest::postComment in core/
modules/ comment/ tests/ src/ Functional/ CommentNonNodeTest.php - Posts a comment.
- CommentPagerTest::testTwoPagers in core/
modules/ comment/ tests/ src/ Functional/ CommentPagerTest.php - Confirms comment paging works correctly with two pagers.
- CommentPreviewTest::testCommentEditPreviewSave in core/
modules/ comment/ tests/ src/ Functional/ CommentPreviewTest.php - Tests comment edit, preview, and save.
- CommentPreviewTest::testCommentPreview in core/
modules/ comment/ tests/ src/ Functional/ CommentPreviewTest.php - Tests comment preview.
- CommentPreviewTest::testCommentPreviewDuplicateSubmission in core/
modules/ comment/ tests/ src/ Functional/ CommentPreviewTest.php - Tests comment preview.
- CommentTestBase::postComment in core/
modules/ comment/ tests/ src/ Functional/ CommentTestBase.php - Posts a comment.
- CommentTestBase::setCommentPreview in core/
modules/ comment/ tests/ src/ Functional/ CommentTestBase.php - Sets the value governing the previewing mode for the comment form.
- LinkField::alterFieldInstanceMigration in core/
modules/ link/ src/ Plugin/ migrate/ field/ d7/ LinkField.php - Apply any custom processing to the field instance migration.
- LinkFieldTest::doTestLinkTitle in core/
modules/ link/ tests/ src/ Functional/ LinkFieldTest.php - Tests the link title settings of a link field.
- LinkFieldTest::testAlterFieldInstanceMigration in core/
modules/ link/ tests/ src/ Kernel/ Plugin/ migrate/ field/ d7/ LinkFieldTest.php - @covers ::alterFieldInstanceMigration
- LinkFieldUITest::providerTestFieldUI in core/
modules/ link/ tests/ src/ Functional/ LinkFieldUITest.php - Provides test data for ::testFieldUI().
- LinkItem::defaultFieldSettings in core/
modules/ link/ src/ Plugin/ Field/ FieldType/ LinkItem.php - Defines the field-level settings for this plugin.
- LinkItem::generateSampleValue in core/
modules/ link/ src/ Plugin/ Field/ FieldType/ LinkItem.php - Generates placeholder field values.
- LinkWidget::formElement in core/
modules/ link/ src/ Plugin/ Field/ FieldWidget/ LinkWidget.php - Returns the form for a single field widget.
- MigrateFieldInstanceTest::testFieldInstances in core/
modules/ field/ tests/ src/ Kernel/ Migrate/ d7/ MigrateFieldInstanceTest.php - Tests migrating D7 field instances to field_config entities.
- MigrateNodeTypeTest::testNodeType in core/
modules/ node/ tests/ src/ Kernel/ Migrate/ d6/ MigrateNodeTypeTest.php - Tests Drupal 6 node type to Drupal 8 migration.
- NodeTypeValidationTest::testPreviewModeValidation in core/
modules/ node/ tests/ src/ Kernel/ NodeTypeValidationTest.php - Tests that a node type's preview mode is constrained to certain values.
- RouteCachingLanguageTest::setUp in core/
tests/ Drupal/ FunctionalTests/ Routing/ RouteCachingLanguageTest.php - SearchCommentTest::testSearchResultsComment in core/
modules/ search/ tests/ src/ Functional/ SearchCommentTest.php - Verify that comments are rendered using proper format in search results.
- SearchCommentTest::testSearchResultsCommentAccess in core/
modules/ search/ tests/ src/ Functional/ SearchCommentTest.php - Verify access rules for comment indexing with different permissions.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.