You are here

protected function BlockContentTypeResourceTestBase::getNormalizedPostEntity in Drupal 10

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

Returns the normalized POST entity.

Return value

array

Overrides EntityResourceTestBase::getNormalizedPostEntity

See also

::testPost

File

core/modules/block_content/tests/src/Functional/Rest/BlockContentTypeResourceTestBase.php, line 67

Class

BlockContentTypeResourceTestBase

Namespace

Drupal\Tests\block_content\Functional\Rest

Code

protected function getNormalizedPostEntity() {

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