You are here

protected function EntityTestBundleResourceTestBase::getNormalizedPostEntity in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleResourceTestBase.php \Drupal\Tests\entity_test\Functional\Rest\EntityTestBundleResourceTestBase::getNormalizedPostEntity()
  2. 9 core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleResourceTestBase.php \Drupal\Tests\entity_test\Functional\Rest\EntityTestBundleResourceTestBase::getNormalizedPostEntity()

Returns the normalized POST entity.

Return value

array

Overrides EntityResourceTestBase::getNormalizedPostEntity

See also

::testPost

File

core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleResourceTestBase.php, line 69

Class

EntityTestBundleResourceTestBase

Namespace

Drupal\Tests\entity_test\Functional\Rest

Code

protected function getNormalizedPostEntity() {

  // @todo Update in https://www.drupal.org/node/2300677.
  return [];
}