function FieldConfigResourceTestBase::getExpectedNormalizedEntity
Same name in other branches
- 9 core/modules/field/tests/src/Functional/Rest/FieldConfigResourceTestBase.php \Drupal\Tests\field\Functional\Rest\FieldConfigResourceTestBase::getExpectedNormalizedEntity()
- 10 core/modules/field/tests/src/Functional/Rest/FieldConfigResourceTestBase.php \Drupal\Tests\field\Functional\Rest\FieldConfigResourceTestBase::getExpectedNormalizedEntity()
- 11.x core/modules/field/tests/src/Functional/Rest/FieldConfigResourceTestBase.php \Drupal\Tests\field\Functional\Rest\FieldConfigResourceTestBase::getExpectedNormalizedEntity()
Overrides EntityResourceTestBase::getExpectedNormalizedEntity
File
-
core/
modules/ field/ tests/ src/ Functional/ Rest/ FieldConfigResourceTestBase.php, line 63
Class
Namespace
Drupal\Tests\field\Functional\RestCode
protected function getExpectedNormalizedEntity() {
return [
'bundle' => 'camelids',
'default_value' => [],
'default_value_callback' => '',
'dependencies' => [
'config' => [
'field.storage.node.field_llama',
'node.type.camelids',
],
'module' => [
'text',
],
],
'description' => '',
'entity_type' => 'node',
'field_name' => 'field_llama',
'field_type' => 'text',
'id' => 'node.camelids.field_llama',
'label' => 'field_llama',
'langcode' => 'en',
'required' => FALSE,
'settings' => [],
'status' => TRUE,
'translatable' => TRUE,
'uuid' => $this->entity
->uuid(),
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.