function EntityResourceTestBase::getNormalizedPostEntity
Same name and namespace in other branches
- 11.x core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php \Drupal\Tests\rest\Functional\EntityResource\EntityResourceTestBase::getNormalizedPostEntity()
- 10 core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php \Drupal\Tests\rest\Functional\EntityResource\EntityResourceTestBase::getNormalizedPostEntity()
- 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
9 methods override EntityResourceTestBase::getNormalizedPostEntity()
- ConfigurableLanguageResourceTestBase::getNormalizedPostEntity in core/
modules/ language/ tests/ src/ Functional/ Rest/ ConfigurableLanguageResourceTestBase.php - Returns the normalized POST entity.
- ContentLanguageSettingsResourceTestBase::getNormalizedPostEntity in core/
modules/ language/ tests/ src/ Functional/ Rest/ ContentLanguageSettingsResourceTestBase.php - Returns the normalized POST entity.
- EditorResourceTestBase::getNormalizedPostEntity in core/
modules/ editor/ tests/ src/ Functional/ Rest/ EditorResourceTestBase.php - Returns the normalized POST entity.
- FieldConfigResourceTestBase::getNormalizedPostEntity in core/
modules/ field/ tests/ src/ Functional/ Rest/ FieldConfigResourceTestBase.php - Returns the normalized POST entity.
- FieldStorageConfigResourceTestBase::getNormalizedPostEntity in core/
modules/ field/ tests/ src/ Functional/ Rest/ FieldStorageConfigResourceTestBase.php - Returns the normalized POST entity.
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\EntityResourceCode
abstract protected function getNormalizedPostEntity();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.