function EntityResourceTestBase::getExpectedNormalizedEntity
Same name and namespace in other branches
- 11.x core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php \Drupal\Tests\rest\Functional\EntityResource\EntityResourceTestBase::getExpectedNormalizedEntity()
- 10 core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php \Drupal\Tests\rest\Functional\EntityResource\EntityResourceTestBase::getExpectedNormalizedEntity()
- 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()
7 methods override EntityResourceTestBase::getExpectedNormalizedEntity()
- CommentResourceTestBase::getExpectedNormalizedEntity in core/
modules/ comment/ tests/ src/ Functional/ Rest/ CommentResourceTestBase.php - Returns the expected normalization of the entity.
- ConfigurableLanguageResourceTestBase::getExpectedNormalizedEntity in core/
modules/ language/ tests/ src/ Functional/ Rest/ ConfigurableLanguageResourceTestBase.php - Returns the expected normalization of the entity.
- DateFormatResourceTestBase::getExpectedNormalizedEntity in core/
tests/ Drupal/ FunctionalTests/ Rest/ DateFormatResourceTestBase.php - Returns the expected normalization of the entity.
- FileResourceTestBase::getExpectedNormalizedEntity in core/
modules/ file/ tests/ src/ Functional/ Rest/ FileResourceTestBase.php - Returns the expected normalization of the entity.
- FilterFormatResourceTestBase::getExpectedNormalizedEntity in core/
modules/ filter/ tests/ src/ Functional/ Rest/ FilterFormatResourceTestBase.php - Returns the expected normalization of the entity.
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\EntityResourceCode
abstract protected function getExpectedNormalizedEntity();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.