function EntityResourceTestBase::getNormalizedPostEntity

Same name and namespace in other branches
  1. 11.x core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php \Drupal\Tests\rest\Functional\EntityResource\EntityResourceTestBase::getNormalizedPostEntity()
  2. 10 core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php \Drupal\Tests\rest\Functional\EntityResource\EntityResourceTestBase::getNormalizedPostEntity()
  3. 8.9.x core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php \Drupal\Tests\rest\Functional\EntityResource\EntityResourceTestBase::getNormalizedPostEntity()

Returns the normalized POST entity.

Return value

array

See also

::testPost

7 methods override EntityResourceTestBase::getNormalizedPostEntity()
CommentResourceTestBase::getNormalizedPostEntity in core/modules/comment/tests/src/Functional/Rest/CommentResourceTestBase.php
Returns the normalized POST entity.
ConfigurableLanguageResourceTestBase::getNormalizedPostEntity in core/modules/language/tests/src/Functional/Rest/ConfigurableLanguageResourceTestBase.php
Returns the normalized POST entity.
DateFormatResourceTestBase::getNormalizedPostEntity in core/tests/Drupal/FunctionalTests/Rest/DateFormatResourceTestBase.php
Returns the normalized POST entity.
FileResourceTestBase::getNormalizedPostEntity in core/modules/file/tests/src/Functional/Rest/FileResourceTestBase.php
Returns the normalized POST entity.
FilterFormatResourceTestBase::getNormalizedPostEntity in core/modules/filter/tests/src/Functional/Rest/FilterFormatResourceTestBase.php
Returns the normalized POST entity.

... See full list

File

core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php, line 284

Class

EntityResourceTestBase
Defines a base class for testing all entity resources.

Namespace

Drupal\Tests\rest\Functional\EntityResource

Code

abstract protected function getNormalizedPostEntity();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.