function EntityResourceTestBase::getExpectedNormalizedEntity

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::getExpectedNormalizedEntity()
  2. 10 core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php \Drupal\Tests\rest\Functional\EntityResource\EntityResourceTestBase::getExpectedNormalizedEntity()
  3. 8.9.x core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php \Drupal\Tests\rest\Functional\EntityResource\EntityResourceTestBase::getExpectedNormalizedEntity()

Returns the expected normalization of the entity.

Return value

array

See also

::createEntity()

9 methods override EntityResourceTestBase::getExpectedNormalizedEntity()
ConfigurableLanguageResourceTestBase::getExpectedNormalizedEntity in core/modules/language/tests/src/Functional/Rest/ConfigurableLanguageResourceTestBase.php
Returns the expected normalization of the entity.
ContentLanguageSettingsResourceTestBase::getExpectedNormalizedEntity in core/modules/language/tests/src/Functional/Rest/ContentLanguageSettingsResourceTestBase.php
Returns the expected normalization of the entity.
EditorResourceTestBase::getExpectedNormalizedEntity in core/modules/editor/tests/src/Functional/Rest/EditorResourceTestBase.php
Returns the expected normalization of the entity.
FieldConfigResourceTestBase::getExpectedNormalizedEntity in core/modules/field/tests/src/Functional/Rest/FieldConfigResourceTestBase.php
Returns the expected normalization of the entity.
FieldStorageConfigResourceTestBase::getExpectedNormalizedEntity in core/modules/field/tests/src/Functional/Rest/FieldStorageConfigResourceTestBase.php
Returns the expected normalization of the entity.

... See full list

File

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

Class

EntityResourceTestBase
Defines a base class for testing all entity resources.

Namespace

Drupal\Tests\rest\Functional\EntityResource

Code

abstract protected function getExpectedNormalizedEntity();

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