Search for all
| Title | Object type | File name | Summary |
|---|---|---|---|
| CommentTest::$entity | property | core/ |
|
| CommentTest::$entityTypeId | property | core/ |
The tested entity type. |
| CommentTest::$modules | property | core/ |
Modules to enable. |
| CommentTest::$modules | property | core/ |
Modules to enable. |
| 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::testRelated | function | core/ |
Tests GETing related resource of an individual resource. |
| CommentTestBase | class | core/ |
Provides setup and helper methods for comment tests. |
| CommentTestBase | class | core/ |
Provides setup and helper methods for comment views tests. |
| 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.php | file | core/ |
|
| CommentTestBase.php | file | core/ |
|
| CommentTestBase::$account | property | core/ |
A normal user with permission to post comments (without approval). |
| 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::$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::$adminUser | property | core/ |
An administrative user with permission to configure comment settings. |
| CommentTestBase::$comment | property | core/ |
Stores a comment used by the tests. |
| 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::$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::$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::$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. |
Pagination
- Previous page
- Page 185
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.