function CommentHalJsonTestBase::getNormalizedPostEntity
Overrides CommentResourceTestBase::getNormalizedPostEntity
File
- 
              core/modules/ comment/ tests/ src/ Functional/ Hal/ CommentHalJsonTestBase.php, line 120 
Class
Namespace
Drupal\Tests\comment\Functional\HalCode
protected function getNormalizedPostEntity() {
  return parent::getNormalizedPostEntity() + [
    '_links' => [
      'type' => [
        'href' => $this->baseUrl . '/rest/type/comment/comment',
      ],
    ],
  ];
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
