You are here

protected function ActionResourceTestBase::getNormalizedPostEntity in Drupal 10

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

Returns the normalized POST entity.

Return value

array

Overrides EntityResourceTestBase::getNormalizedPostEntity

See also

::testPost

File

core/modules/system/tests/src/Functional/Rest/ActionResourceTestBase.php, line 76

Class

ActionResourceTestBase

Namespace

Drupal\Tests\system\Functional\Rest

Code

protected function getNormalizedPostEntity() {

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