function EntityFormModeResourceTestBase::getExpectedNormalizedEntity
Same name in other branches
- 9 core/tests/Drupal/FunctionalTests/Rest/EntityFormModeResourceTestBase.php \Drupal\FunctionalTests\Rest\EntityFormModeResourceTestBase::getExpectedNormalizedEntity()
- 8.9.x core/tests/Drupal/FunctionalTests/Rest/EntityFormModeResourceTestBase.php \Drupal\FunctionalTests\Rest\EntityFormModeResourceTestBase::getExpectedNormalizedEntity()
- 10 core/tests/Drupal/FunctionalTests/Rest/EntityFormModeResourceTestBase.php \Drupal\FunctionalTests\Rest\EntityFormModeResourceTestBase::getExpectedNormalizedEntity()
Overrides EntityResourceTestBase::getExpectedNormalizedEntity
File
-
core/
tests/ Drupal/ FunctionalTests/ Rest/ EntityFormModeResourceTestBase.php, line 53
Class
Namespace
Drupal\FunctionalTests\RestCode
protected function getExpectedNormalizedEntity() {
return [
'cache' => TRUE,
'dependencies' => [
'module' => [
'user',
],
],
'id' => 'user.test',
'label' => 'Test',
'description' => '',
'langcode' => 'en',
'status' => TRUE,
'targetEntityType' => 'user',
'uuid' => $this->entity
->uuid(),
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.