function RoleResourceTestBase::getNormalizedPostEntity

Returns the normalized POST entity.

Return value

array An array structure as returned by ::getNormalizedPostEntity().

Overrides EntityResourceTestBase::getNormalizedPostEntity

File

core/modules/user/tests/src/Functional/Rest/RoleResourceTestBase.php, line 70

Class

RoleResourceTestBase
Resource test base for the UserRole entity.

Namespace

Drupal\Tests\user\Functional\Rest

Code

protected function getNormalizedPostEntity() {
  // @todo Update in https://www.drupal.org/node/2300677.
  return [];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.