You are here

protected function DateFormatResourceTestBase::getExpectedNormalizedEntity in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/FunctionalTests/Rest/DateFormatResourceTestBase.php \Drupal\FunctionalTests\Rest\DateFormatResourceTestBase::getExpectedNormalizedEntity()
  2. 9 core/tests/Drupal/FunctionalTests/Rest/DateFormatResourceTestBase.php \Drupal\FunctionalTests\Rest\DateFormatResourceTestBase::getExpectedNormalizedEntity()

File

core/tests/Drupal/FunctionalTests/Rest/DateFormatResourceTestBase.php, line 56

Class

DateFormatResourceTestBase
ResourceTestBase for DateFormat entity.

Namespace

Drupal\FunctionalTests\Rest

Code

protected function getExpectedNormalizedEntity() {
  return [
    'dependencies' => [],
    'id' => 'llama',
    'label' => 'Llama',
    'langcode' => 'en',
    'locked' => FALSE,
    'pattern' => 'F d, Y',
    'status' => TRUE,
    'uuid' => $this->entity
      ->uuid(),
  ];
}