abstract protected function ResourceTestBase::getPostDocument in Drupal 10
Same name and namespace in other branches
- 8 core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php \Drupal\Tests\jsonapi\Functional\ResourceTestBase::getPostDocument()
- 9 core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php \Drupal\Tests\jsonapi\Functional\ResourceTestBase::getPostDocument()
Returns the JSON:API POST document.
Return value
array A JSON:API request document.
See also
::testPostIndividual()
File
- core/
modules/ jsonapi/ tests/ src/ Functional/ ResourceTestBase.php, line 454
Class
- ResourceTestBase
- Subclass this for every JSON:API resource type.
Namespace
Drupal\Tests\jsonapi\FunctionalCode
protected abstract function getPostDocument();