function WorkspaceResourceTestBase::getNormalizedPostEntity
Same name in this branch
- 11.x core/modules/workspaces/tests/src/Functional/EntityResource/WorkspaceResourceTestBase.php \Drupal\Tests\workspaces\Functional\EntityResource\WorkspaceResourceTestBase::getNormalizedPostEntity()
Same name in other branches
- 9 core/modules/workspaces/tests/src/Functional/EntityResource/WorkspaceResourceTestBase.php \Drupal\Tests\workspaces\Functional\EntityResource\WorkspaceResourceTestBase::getNormalizedPostEntity()
- 8.9.x core/modules/workspaces/tests/src/Functional/EntityResource/WorkspaceResourceTestBase.php \Drupal\Tests\workspaces\Functional\EntityResource\WorkspaceResourceTestBase::getNormalizedPostEntity()
- 10 core/modules/workspaces/tests/src/Functional/EntityResource/WorkspaceResourceTestBase.php \Drupal\Tests\workspaces\Functional\EntityResource\WorkspaceResourceTestBase::getNormalizedPostEntity()
- 10 core/modules/workspaces/tests/src/Functional/Rest/WorkspaceResourceTestBase.php \Drupal\Tests\workspaces\Functional\Rest\WorkspaceResourceTestBase::getNormalizedPostEntity()
Overrides EntityResourceTestBase::getNormalizedPostEntity
1 call to WorkspaceResourceTestBase::getNormalizedPostEntity()
- WorkspaceResourceTestBase::getNormalizedPatchEntity in core/
modules/ workspaces/ tests/ src/ Functional/ Rest/ WorkspaceResourceTestBase.php - Returns the normalized PATCH entity.
File
-
core/
modules/ workspaces/ tests/ src/ Functional/ Rest/ WorkspaceResourceTestBase.php, line 149
Class
- WorkspaceResourceTestBase
- Base class for workspace EntityResource tests.
Namespace
Drupal\Tests\workspaces\Functional\RestCode
protected function getNormalizedPostEntity() {
return [
'id' => [
[
'value' => static::$firstCreatedEntityId,
],
],
'label' => [
[
'value' => 'Running on faith',
],
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.