You are here

31 uses of DRUPAL_OPTIONAL in Drupal 10

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.
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::testAlterFieldInstanceMigration in core/modules/link/tests/src/Kernel/Plugin/migrate/field/d7/LinkFieldTest.php
@covers ::alterFieldInstanceMigration
LinkFieldTest::testEditNonNodeEntityLink in core/modules/link/tests/src/Functional/LinkFieldTest.php
Tests editing a link to a non-node entity.
LinkFieldTest::testLinkFormatter in core/modules/link/tests/src/Functional/LinkFieldTest.php
Tests the default 'link' formatter.
LinkFieldTest::testLinkSeparateFormatter in core/modules/link/tests/src/Functional/LinkFieldTest.php
Tests the 'link_separate' formatter.
LinkFieldTest::testLinkTitle in core/modules/link/tests/src/Functional/LinkFieldTest.php
Tests the link title settings of a link field.
LinkFieldTest::testLinkTypeOnLinkWidget in core/modules/link/tests/src/Functional/LinkFieldTest.php
Tests '#link_type' property exists on 'link_default' widget.
LinkFieldTest::testNoLinkUri in core/modules/link/tests/src/Functional/LinkFieldTest.php
Tests <nolink> and <none> as link uri.
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::fieldSettingsForm in core/modules/link/src/Plugin/Field/FieldType/LinkItem.php
Returns a form for the field-level settings.
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.
NodeType.php in core/modules/node/src/Entity/NodeType.php
NodeTypeForm::form in core/modules/node/src/NodeTypeForm.php
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.