You are here

protected function MenuResourceTestBase::getNormalizedPostEntity in Drupal 10

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

Returns the normalized POST entity.

Return value

array

Overrides EntityResourceTestBase::getNormalizedPostEntity

See also

::testPost

File

core/modules/system/tests/src/Functional/Rest/MenuResourceTestBase.php, line 65

Class

MenuResourceTestBase

Namespace

Drupal\Tests\system\Functional\Rest

Code

protected function getNormalizedPostEntity() {

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