You are here

protected function ConfigurableLanguageResourceTestBase::getExpectedNormalizedEntity in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/language/tests/src/Functional/Rest/ConfigurableLanguageResourceTestBase.php \Drupal\Tests\language\Functional\Rest\ConfigurableLanguageResourceTestBase::getExpectedNormalizedEntity()
  2. 9 core/modules/language/tests/src/Functional/Rest/ConfigurableLanguageResourceTestBase.php \Drupal\Tests\language\Functional\Rest\ConfigurableLanguageResourceTestBase::getExpectedNormalizedEntity()

File

core/modules/language/tests/src/Functional/Rest/ConfigurableLanguageResourceTestBase.php, line 50

Class

ConfigurableLanguageResourceTestBase

Namespace

Drupal\Tests\language\Functional\Rest

Code

protected function getExpectedNormalizedEntity() {
  return [
    'dependencies' => [],
    'direction' => 'ltr',
    'id' => 'll',
    'label' => 'Llama Language',
    'langcode' => 'en',
    'locked' => FALSE,
    'status' => TRUE,
    'uuid' => $this->entity
      ->uuid(),
    'weight' => 0,
  ];
}