protected function EntityFormModeResourceTestBase::getExpectedNormalizedEntity in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/FunctionalTests/Rest/EntityFormModeResourceTestBase.php \Drupal\FunctionalTests\Rest\EntityFormModeResourceTestBase::getExpectedNormalizedEntity()
- 9 core/tests/Drupal/FunctionalTests/Rest/EntityFormModeResourceTestBase.php \Drupal\FunctionalTests\Rest\EntityFormModeResourceTestBase::getExpectedNormalizedEntity()
File
- core/
tests/ Drupal/ FunctionalTests/ Rest/ EntityFormModeResourceTestBase.php, line 50
Class
Namespace
Drupal\FunctionalTests\RestCode
protected function getExpectedNormalizedEntity() {
return [
'cache' => TRUE,
'dependencies' => [
'module' => [
'user',
],
],
'id' => 'user.test',
'label' => 'Test',
'langcode' => 'en',
'status' => TRUE,
'targetEntityType' => 'user',
'uuid' => $this->entity
->uuid(),
];
}