function MenuResourceTestBase::getExpectedNormalizedEntity
Returns the expected normalization of the entity.
Return value
array
Overrides EntityResourceTestBase::getExpectedNormalizedEntity
File
- 
              core/modules/ system/ tests/ src/ Functional/ Rest/ MenuResourceTestBase.php, line 51 
Class
Namespace
Drupal\Tests\system\Functional\RestCode
protected function getExpectedNormalizedEntity() {
  return [
    'dependencies' => [],
    'description' => 'Menu',
    'id' => 'menu',
    'label' => 'Menu',
    'langcode' => 'en',
    'locked' => FALSE,
    'status' => TRUE,
    'uuid' => $this->entity
      ->uuid(),
  ];
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
