Search for %s
- Search 7.x for %s
- Search 9.5.x for %s
- Search 10.3.x for %s
- Search 11.x for %s
- Search main for %s
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| EntityResource::patchIndividual | function | core/ |
Patches an individual entity. |
| EntityResource::permissions | function | core/ |
Implements ResourceInterface::permissions(). |
| EntityResource::post | function | core/ |
Responds to entity POST requests and saves the new entity. |
| EntityResource::relationshipResponseRequiresBody | function | core/ |
Determines if the client needs to be updated with new relationship data. |
| EntityResource::removeFromRelationshipData | function | core/ |
Deletes the relationship of an entity. |
| EntityResource::replaceRelationshipData | function | core/ |
Updates the relationship of an entity. |
| EntityResource::respondWithCollection | function | core/ |
Respond with an entity collection. |
| EntityResource::updateEntityField | function | core/ |
Takes a field from the origin entity and puts it to the destination entity. |
| EntityResource::__construct | function | core/ |
Instantiates a EntityResource object. |
| EntityResource::__construct | function | core/ |
Constructs a Drupal\rest\Plugin\rest\resource\EntityResource object. |
| EntityResourceAccessTrait | trait | core/ |
@internal @todo Consider making public in https://www.drupal.org/node/2300677 |
| EntityResourceAccessTrait.php | file | core/ |
|
| EntityResourceAccessTrait::checkEditFieldAccess | function | core/ |
Performs edit access checks for fields. |
| EntityResourcePermissionsUpdateTest | class | core/ |
Tests that existing sites continue to use permissions for EntityResource. |
| EntityResourcePermissionsUpdateTest.php | file | core/ |
|
| EntityResourcePermissionsUpdateTest::$modules | property | core/ |
Modules to enable after the database is loaded. |
| EntityResourcePermissionsUpdateTest::setDatabaseDumpFiles | function | core/ |
Set database dump files to be used. |
| EntityResourcePermissionsUpdateTest::testBcEntityResourcePermissionSettingAdded | function | core/ |
Tests rest_update_8203(). |
| EntityResourcePostRouteSubscriber | class | core/ |
Generates a 'create' route for an entity type if it has a REST POST route. |
| EntityResourcePostRouteSubscriber.php | file | core/ |
|
| EntityResourcePostRouteSubscriber::$resourceConfigStorage | property | core/ |
The REST resource config storage. |
| EntityResourcePostRouteSubscriber::getSubscribedEvents | function | core/ |
|
| EntityResourcePostRouteSubscriber::onDynamicRouteEvent | function | core/ |
Provides routes on route rebuild time. |
| EntityResourcePostRouteSubscriber::__construct | function | core/ |
Constructs a new EntityResourcePostRouteSubscriber instance. |
| EntityResourceRestTestCoverageTest | class | core/ |
Checks that all core content/config entity types have REST test coverage. |
| EntityResourceRestTestCoverageTest.php | file | core/ |
|
| EntityResourceRestTestCoverageTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| EntityResourceRestTestCoverageTest::$definitions | property | core/ |
Entity definitions array. |
| EntityResourceRestTestCoverageTest::getLlamaMessage | function | core/ |
Message from Llama. |
| EntityResourceRestTestCoverageTest::setUp | function | core/ |
|
| EntityResourceRestTestCoverageTest::testEntityTypeRestTestCoverage | function | core/ |
Tests that all core content/config entity types have REST test coverage. |
| EntityResourceTest | class | core/ |
@coversDefaultClass \Drupal\jsonapi\Controller\EntityResource[[api-linebreak]] @group jsonapi |
| EntityResourceTest.php | file | core/ |
|
| EntityResourceTest::$entityResource | property | core/ |
The EntityResource under test. |
| EntityResourceTest::$modules | property | core/ |
Modules to enable. |
| EntityResourceTest::$node | property | core/ |
The node. |
| EntityResourceTest::$node2 | property | core/ |
The other node. |
| EntityResourceTest::$node3 | property | core/ |
An unpublished node. |
| EntityResourceTest::$nodeUuid | property | core/ |
Static UUIDs to use in testing. |
| EntityResourceTest::$request | property | core/ |
A fake request. |
| EntityResourceTest::$user | property | core/ |
The user. |
| EntityResourceTest::createEntityResource | function | core/ |
Creates an instance of the subject under test. |
| EntityResourceTest::setUp | function | core/ |
|
| EntityResourceTest::testGetEmptyCollection | function | core/ |
@covers ::getCollection[[api-linebreak]] |
| EntityResourceTest::testGetPagedCollection | function | core/ |
@covers ::getCollection[[api-linebreak]] |
| EntityResourceTestBase | class | core/ |
Even though there is the generic EntityResource, it's necessary for every entity type to have its own test, because they each have different fields, validation constraints, et cetera. It's not because the generic case works, that every case… |
| EntityResourceTestBase.php | file | core/ |
|
| EntityResourceTestBase::$anotherEntity | property | core/ |
Another entity of the same type used for testing. |
| EntityResourceTestBase::$entity | property | core/ |
The main entity used for testing. |
| EntityResourceTestBase::$entityStorage | property | core/ |
The entity storage. |
Pagination
- Previous page
- Page 413
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.