function ShortcutSetResourceTestBase::getExpectedNormalizedEntity
Same name in other branches
- 9 core/modules/shortcut/tests/src/Functional/Rest/ShortcutSetResourceTestBase.php \Drupal\Tests\shortcut\Functional\Rest\ShortcutSetResourceTestBase::getExpectedNormalizedEntity()
- 8.9.x core/modules/shortcut/tests/src/Functional/Rest/ShortcutSetResourceTestBase.php \Drupal\Tests\shortcut\Functional\Rest\ShortcutSetResourceTestBase::getExpectedNormalizedEntity()
- 11.x core/modules/shortcut/tests/src/Functional/Rest/ShortcutSetResourceTestBase.php \Drupal\Tests\shortcut\Functional\Rest\ShortcutSetResourceTestBase::getExpectedNormalizedEntity()
Overrides EntityResourceTestBase::getExpectedNormalizedEntity
File
-
core/
modules/ shortcut/ tests/ src/ Functional/ Rest/ ShortcutSetResourceTestBase.php, line 72
Class
- ShortcutSetResourceTestBase
- ResourceTestBase for ShortcutSet entity.
Namespace
Drupal\Tests\shortcut\Functional\RestCode
protected function getExpectedNormalizedEntity() {
return [
'id' => 'llama-set',
'uuid' => $this->entity
->uuid(),
'label' => 'Llama Set',
'status' => TRUE,
'langcode' => 'en',
'dependencies' => [],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.