You are here

protected function EditorResourceTestBase::getNormalizedPostEntity in Drupal 10

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

Returns the normalized POST entity.

Return value

array

Overrides EntityResourceTestBase::getNormalizedPostEntity

See also

::testPost

File

core/modules/editor/tests/src/Functional/Rest/EditorResourceTestBase.php, line 123

Class

EditorResourceTestBase
ResourceTestBase for Editor entity.

Namespace

Drupal\Tests\editor\Functional\Rest

Code

protected function getNormalizedPostEntity() {

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