You are here

13 uses of DRUPAL_REQUIRED in Drupal 9

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.
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.
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::testLinkTitle in core/modules/link/tests/src/Functional/LinkFieldTest.php
Tests the link title settings of a link field.
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.
NodeForm::actions in core/modules/node/src/NodeForm.php
Returns an array of supported actions for the current entity form.
PagePreviewTest::testPagePreview in core/modules/node/tests/src/Functional/PagePreviewTest.php
Checks the node preview functionality.