You are here

13 uses of DRUPAL_OPTIONAL in Drupal 7

CommentContentRebuild::testCommentRebuild in modules/comment/comment.test
Test to ensure that the comment's content array is rebuilt for every call to comment_view().
CommentHelperCase::postComment in modules/comment/comment.test
Post comment.
CommentHelperCase::setCommentPreview in modules/comment/comment.test
Set comment preview setting.
CommentInterfaceTest::testCommentInterface in modules/comment/comment.test
Test comment interface.
CommentPreviewTest::testCommentEditPreviewSave in modules/comment/comment.test
Test comment edit, preview, and save.
CommentPreviewTest::testCommentPreview in modules/comment/comment.test
Test comment preview.
comment_form in modules/comment/comment.module
Generate the basic commenting form, for appending to a node or display on a separate page.
comment_form_node_type_form_alter in modules/comment/comment.module
Implements hook_form_FORM_ID_alter().
node_form in modules/node/node.pages.inc
Form constructor for the node add/edit form.
node_type_form in modules/node/content_types.inc
Form constructor for the node type editing form.
RdfCommentAttributesTestCase::setUp in modules/rdf/rdf.test
Sets up a Drupal site for running functional and integration tests.
SearchCommentTestCase::testSearchResultsComment in modules/search/search.test
Verify that comments are rendered using proper format in search results.
SearchCommentTestCase::testSearchResultsCommentAccess in modules/search/search.test
Verify access rules for comment indexing with different permissions.