function MenuResourceTestBase::getExpectedNormalizedEntity
Same name in other branches
- 9 core/modules/system/tests/src/Functional/Rest/MenuResourceTestBase.php \Drupal\Tests\system\Functional\Rest\MenuResourceTestBase::getExpectedNormalizedEntity()
- 8.9.x core/modules/system/tests/src/Functional/Rest/MenuResourceTestBase.php \Drupal\Tests\system\Functional\Rest\MenuResourceTestBase::getExpectedNormalizedEntity()
- 11.x core/modules/system/tests/src/Functional/Rest/MenuResourceTestBase.php \Drupal\Tests\system\Functional\Rest\MenuResourceTestBase::getExpectedNormalizedEntity()
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.