18 uses of DRUPAL_OPTIONAL

CommentAttributesTest::setUp in drupal/core/modules/rdf/lib/Drupal/rdf/Tests/CommentAttributesTest.php
Sets up a Drupal site for running functional and integration tests.
CommentContentRebuildTest::testCommentRebuild in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentContentRebuildTest.php
Tests the rebuilding of comment's content arrays on calling comment_view().
CommentFormController::actions in drupal/core/modules/comment/lib/Drupal/comment/CommentFormController.php
Overrides Drupal\Core\Entity\EntityFormController::actions().
CommentInterfaceTest::testCommentInterface in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentInterfaceTest.php
Tests the comment interface.
CommentPreviewTest::testCommentEditPreviewSave in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentPreviewTest.php
Tests comment edit, preview, and save.
CommentPreviewTest::testCommentPreview in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentPreviewTest.php
Tests comment preview.
CommentTestBase::postComment in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentTestBase.php
Posts a comment.
CommentTestBase::setCommentPreview in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentTestBase.php
Sets the value governing the previewing mode for the comment form.
comment_form_node_type_form_alter in drupal/core/modules/comment/comment.module
Implements hook_form_FORM_ID_alter().
LinkFieldTest::testLinkFormatter in drupal/core/modules/field/modules/link/lib/Drupal/link/Tests/LinkFieldTest.php
Tests the default 'link' formatter.
LinkFieldTest::testLinkSeparateFormatter in drupal/core/modules/field/modules/link/lib/Drupal/link/Tests/LinkFieldTest.php
Tests the 'link_separate' formatter.
LinkFieldTest::testLinkTitle in drupal/core/modules/field/modules/link/lib/Drupal/link/Tests/LinkFieldTest.php
Tests the title settings of a link field.
link_field_info in drupal/core/modules/field/modules/link/link.module
Implements hook_field_info().
link_field_instance_settings_form in drupal/core/modules/field/modules/link/link.module
Implements hook_field_instance_settings_form().
NodeFormController::actions in drupal/core/modules/node/lib/Drupal/node/NodeFormController.php
Overrides Drupal\Core\Entity\EntityFormController::actions().
node_type_form in drupal/core/modules/node/content_types.inc
Form constructor for the node type editing form.
SearchCommentTest::testSearchResultsComment in drupal/core/modules/search/lib/Drupal/search/Tests/SearchCommentTest.php
Verify that comments are rendered using proper format in search results.
SearchCommentTest::testSearchResultsCommentAccess in drupal/core/modules/search/lib/Drupal/search/Tests/SearchCommentTest.php
Verify access rules for comment indexing with different permissions.