function WorkspaceResourceTestBase::getSecondNormalizedPostEntity
Overrides EntityResourceTestBase::getSecondNormalizedPostEntity
File
-
core/
modules/ workspaces/ tests/ src/ Functional/ EntityResource/ WorkspaceResourceTestBase.php, line 155
Class
- WorkspaceResourceTestBase
- Base class for workspace EntityResource tests.
Namespace
Drupal\Tests\workspaces\Functional\EntityResourceCode
protected function getSecondNormalizedPostEntity() {
$normalized_post_entity = $this->getNormalizedPostEntity();
$normalized_post_entity['id'][0]['value'] = static::$secondCreatedEntityId;
return $normalized_post_entity;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.