protected function ContentLanguageSettingsResourceTestBase::getExpectedNormalizedEntity in Drupal 10
Same name and namespace in other branches
- 8 core/modules/language/tests/src/Functional/Rest/ContentLanguageSettingsResourceTestBase.php \Drupal\Tests\language\Functional\Rest\ContentLanguageSettingsResourceTestBase::getExpectedNormalizedEntity()
- 9 core/modules/language/tests/src/Functional/Rest/ContentLanguageSettingsResourceTestBase.php \Drupal\Tests\language\Functional\Rest\ContentLanguageSettingsResourceTestBase::getExpectedNormalizedEntity()
File
- core/
modules/ language/ tests/ src/ Functional/ Rest/ ContentLanguageSettingsResourceTestBase.php, line 57
Class
Namespace
Drupal\Tests\language\Functional\RestCode
protected function getExpectedNormalizedEntity() {
return [
'default_langcode' => 'site_default',
'dependencies' => [
'config' => [
'node.type.camelids',
],
],
'id' => 'node.camelids',
'langcode' => 'en',
'language_alterable' => FALSE,
'status' => TRUE,
'target_bundle' => 'camelids',
'target_entity_type_id' => 'node',
'uuid' => $this->entity
->uuid(),
];
}