Search for all
| Title | Object type | File name | Summary |
|---|---|---|---|
| CommentTest::$modules | property | core/ |
Modules to enable. |
| CommentTest::$patchProtectedFieldNames | property | core/ |
The fields that are protected against modification during PATCH requests. |
| CommentTest::$resourceTypeName | property | core/ |
The name of the tested JSON:API resource type. |
| CommentTest::createEntity | function | core/ |
Creates the entity to be tested. |
| CommentTest::entityAccess | function | core/ |
Checks access for the given operation on the given entity. |
| CommentTest::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
| CommentTest::getExpectedCacheTags | function | core/ |
The expected cache tags for the GET/HEAD response of the test entity. |
| CommentTest::getExpectedCollectionCacheability | function | core/ |
Computes the cacheability for a given entity collection. |
| CommentTest::getExpectedDocument | function | core/ |
Returns the expected JSON:API document for the entity. |
| CommentTest::getExpectedUnauthorizedAccessCacheability | function | core/ |
Returns the expected cacheability for an unauthorized response. |
| CommentTest::getExpectedUnauthorizedAccessMessage | function | core/ |
Return the expected error message. |
| CommentTest::getIncludePermissions | function | core/ |
Authorize the user under test with additional permissions to view includes. |
| CommentTest::getPostDocument | function | core/ |
Returns the JSON:API POST document. |
| CommentTest::providerSource | function | core/ |
The data provider. |
| CommentTest::providerSource | function | core/ |
The data provider. |
| CommentTest::setUpAuthorization | function | core/ |
Sets up the necessary authorization. |
| CommentTest::testCollectionFilterAccess | function | core/ |
|
| CommentTest::testPatchIndividual | function | core/ |
Tests PATCHing an individual resource, plus edge cases to ensure good DX. |
| CommentTest::testPostIndividualDxWithoutCriticalBaseFields | function | core/ |
Tests POSTing a comment without critical base fields. |
| CommentTest::testPostIndividualSkipCommentApproval | function | core/ |
Tests POSTing a comment with and without 'skip comment approval'. |
| CommentTest::testPrepareCommentDeprecation | function | core/ |
@group legacy |
| CommentTestBase | class | core/ |
Provides setup and helper methods for comment tests. |
| CommentTestBase | class | core/ |
Provides setup and helper methods for comment views tests. |
| CommentTestBase.php | file | core/ |
|
| CommentTestBase.php | file | core/ |
|
| CommentTestBase::$account | property | core/ |
A normal user with permission to post comments (without approval). |
| CommentTestBase::$account2 | property | core/ |
A second normal user that will author a node for $account to comment on. |
| CommentTestBase::$adminUser | property | core/ |
An administrative user with permission to configure comment settings. |
| CommentTestBase::$comment | property | core/ |
Stores a comment used by the tests. |
| CommentTestBase::$modules | property | core/ |
Modules to install. |
| CommentTestBase::$modules | property | core/ |
Modules to install. |
| CommentTestBase::$node | property | core/ |
A test node to which comments will be posted. |
| CommentTestBase::$nodeUserCommented | property | core/ |
Stores a node posted by the user created as $account2. |
| CommentTestBase::$nodeUserPosted | property | core/ |
Stores a node posted by the user created as $account. |
| CommentTestBase::$webUser | property | core/ |
A normal user with permission to post comments. |
| CommentTestBase::commentContactInfoAvailable | function | core/ |
Checks whether the commenter's contact information is displayed. |
| CommentTestBase::commentExists | function | core/ |
Checks current page for specified comment. |
| CommentTestBase::createCommentType | function | core/ |
Creates a comment type (bundle). |
| CommentTestBase::deleteComment | function | core/ |
Deletes a comment. |
| CommentTestBase::getUnapprovedComment | function | core/ |
Gets the comment ID for an unapproved comment. |
| CommentTestBase::performCommentOperation | function | core/ |
Performs the specified operation on the specified comment. |
| CommentTestBase::postComment | function | core/ |
Posts a comment. |
| CommentTestBase::setCommentAnonymous | function | core/ |
Sets the value governing restrictions on anonymous comments. |
| CommentTestBase::setCommentForm | function | core/ |
Sets the value governing whether the comment form is on its own page. |
| CommentTestBase::setCommentPreview | function | core/ |
Sets the value governing the previewing mode for the comment form. |
| CommentTestBase::setCommentSettings | function | core/ |
Sets a comment settings variable for the article content type. |
| CommentTestBase::setCommentsPerPage | function | core/ |
Sets the value specifying the default number of comments per page. |
| CommentTestBase::setCommentSubject | function | core/ |
Sets the value governing whether the subject field should be enabled. |
| CommentTestBase::setUp | function | core/ |
|
| CommentTestBase::setUp | function | core/ |
Sets up the test. |
Pagination
- Previous page
- Page 194
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.