You are here

protected function ContactFormResourceTestBase::getNormalizedPostEntity in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/contact/tests/src/Functional/Rest/ContactFormResourceTestBase.php \Drupal\Tests\contact\Functional\Rest\ContactFormResourceTestBase::getNormalizedPostEntity()
  2. 9 core/modules/contact/tests/src/Functional/Rest/ContactFormResourceTestBase.php \Drupal\Tests\contact\Functional\Rest\ContactFormResourceTestBase::getNormalizedPostEntity()

Returns the normalized POST entity.

Return value

array

Overrides EntityResourceTestBase::getNormalizedPostEntity

See also

::testPost

File

core/modules/contact/tests/src/Functional/Rest/ContactFormResourceTestBase.php, line 86

Class

ContactFormResourceTestBase

Namespace

Drupal\Tests\contact\Functional\Rest

Code

protected function getNormalizedPostEntity() {

  // @todo Update in https://www.drupal.org/node/2300677.
  return [];
}